Skip to content

Commit

Permalink
clear out the CCFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoody256 committed Jan 27, 2019
1 parent 4518d14 commit c2dc898
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/engine/SCons/Tool/mingw.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def generate(env):

#... but a few things differ:
env['CC'] = 'gcc'
env['CCFLAGS'] = SCons.Util.CLVar('')
env['SHCCFLAGS'] = SCons.Util.CLVar('$CCFLAGS')
env['CXX'] = 'g++'
env['SHCXXFLAGS'] = SCons.Util.CLVar('$CXXFLAGS')
Expand All @@ -167,8 +168,6 @@ def generate(env):

env['SHOBJSUFFIX'] = '.o'
env['STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME'] = 1
if 'CCFLAGS' in env:
env['CCFLAGS'] = SCons.Util.CLVar(str(env['CCFLAGS']).replace('/nologo', ''))
env['RC'] = 'windres'
env['RCFLAGS'] = SCons.Util.CLVar('')
env['RCINCFLAGS'] = '$( ${_concat(RCINCPREFIX, CPPPATH, RCINCSUFFIX, __env__, RDirs, TARGET, SOURCE)} $)'
Expand Down

0 comments on commit c2dc898

Please sign in to comment.