scons: no longer automatically append $LDFLAGS from environment. uncomment the line in SConstruct if you want to do this
This commit is contained in:
parent
71ab6addd0
commit
9474b57275
|
@ -51,8 +51,9 @@ if os.environ.has_key('WINDRES'):
|
|||
env.Replace(WINDRES = os.environ['WINDRES'])
|
||||
if os.environ.has_key('CFLAGS'):
|
||||
env.Append(CCFLAGS = os.environ['CFLAGS'].split())
|
||||
if os.environ.has_key('LDFLAGS'):
|
||||
env.Append(LINKFLAGS = os.environ['LDFLAGS'].split())
|
||||
# Uncomment the next two lines if you would like to use the $LDFLAG variable from the environment
|
||||
#if os.environ.has_key('LDFLAGS'):
|
||||
# env.Append(LINKFLAGS = os.environ['LDFLAGS'].split())
|
||||
|
||||
print "platform: ", env['PLATFORM']
|
||||
|
||||
|
|
Loading…
Reference in New Issue