-Wno-parentheses is GCC-only, of course.

This commit is contained in:
David Anderson 2009-08-29 23:14:37 -07:00
parent 40149ba650
commit 5d4d0cf106

View File

@ -3,6 +3,7 @@ import os
sdk = SM.sdkInfo['ep2v']
compiler = SM.DefaultHL2Compiler('extensions/tf2', 'ep2v')
if compiler.cc.name == 'gcc':
compiler['CFLAGS'].append('-Wno-parentheses')
name = 'game.tf2.ext.' + sdk['ext']