-Wno-parentheses is GCC-only, of course.
This commit is contained in:
parent
40149ba650
commit
5d4d0cf106
@ -3,7 +3,8 @@ import os
|
||||
|
||||
sdk = SM.sdkInfo['ep2v']
|
||||
compiler = SM.DefaultHL2Compiler('extensions/tf2', 'ep2v')
|
||||
compiler['CFLAGS'].append('-Wno-parentheses')
|
||||
if compiler.cc.name == 'gcc':
|
||||
compiler['CFLAGS'].append('-Wno-parentheses')
|
||||
|
||||
name = 'game.tf2.ext.' + sdk['ext']
|
||||
extension = AMBuild.AddJob(name)
|
||||
|
Loading…
Reference in New Issue
Block a user