diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-11-18 08:47:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-11-18 08:47:19 +0300 |
commit | bbc00befe75ce223a91d1bbccab1e6e1c93da98c (patch) | |
tree | b340d5058d221ac3ab8cb07a3e4ee609bd94e31b /config | |
parent | 826c6d935d0a47289369b8c76ceb554d5def189a (diff) |
some scons command line args were not working since recent changes-
scons CCFLAGS="-O0 -ggdp3"
for example would pass on the args including the "'s to scons, causing the build to fail.
Diffstat (limited to 'config')
-rw-r--r-- | config/darwin-config.py | 4 | ||||
-rw-r--r-- | config/linux2-config.py | 2 | ||||
-rw-r--r-- | config/openbsd3-config.py | 2 | ||||
-rw-r--r-- | config/sunos5-config.py | 2 | ||||
-rw-r--r-- | config/win32-vc-config.py | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/config/darwin-config.py b/config/darwin-config.py index ee0cd6e2a87..3ef7b7132d9 100644 --- a/config/darwin-config.py +++ b/config/darwin-config.py @@ -216,14 +216,14 @@ CXXFLAGS = [ '-pipe','-fPIC','-funsigned-char', '-fpascal-strings'] PLATFORM_LINKFLAGS = '-fexceptions -framework CoreServices -framework Foundation -framework IOKit -framework AppKit -framework Carbon -framework AGL -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework QuickTime' #note to build succesfully on 10.3.9 SDK you need to patch 10.3.9 by adding the SystemStubs.a lib from 10.4 -LLIBS = 'stdc++ SystemStubs' +LLIBS = ['stdc++', 'SystemStubs'] # some flags shuffling for different Os versions if MAC_MIN_VERS == '10.3': CFLAGS = ['-fuse-cxa-atexit']+CFLAGS CXXFLAGS = ['-fuse-cxa-atexit']+CXXFLAGS PLATFORM_LINKFLAGS = '-fuse-cxa-atexit '+PLATFORM_LINKFLAGS - LLIBS = LLIBS + ' crt3.o' + LLIBS.append('crt3.o') if USE_SDK==True: SDK_FLAGS=['-isysroot', MACOSX_SDK,'-mmacosx-version-min='+MAC_MIN_VERS] diff --git a/config/linux2-config.py b/config/linux2-config.py index 70bb827a67c..2984c06d2df 100644 --- a/config/linux2-config.py +++ b/config/linux2-config.py @@ -193,7 +193,7 @@ CC_WARN = ['-Wall'] ##FIX_STUBS_WARNINGS = -Wno-unused -LLIBS = 'util c m dl pthread stdc++' +LLIBS = ['util', 'c', 'm', 'dl', 'pthread', 'stdc++'] ##LOPTS = --dynamic ##DYNLDFLAGS = -shared $(LDFLAGS) diff --git a/config/openbsd3-config.py b/config/openbsd3-config.py index 49a0c824cd7..8fc334874f9 100644 --- a/config/openbsd3-config.py +++ b/config/openbsd3-config.py @@ -151,7 +151,7 @@ CC_WARN = ['-Wall'] ##FIX_STUBS_WARNINGS = -Wno-unused -LLIBS = 'm stdc++ pthread util' +LLIBS = ['m', 'stdc++', 'pthread', 'util'] ##LOPTS = --dynamic ##DYNLDFLAGS = -shared $(LDFLAGS) diff --git a/config/sunos5-config.py b/config/sunos5-config.py index 3b76753399d..a44a9df7c75 100644 --- a/config/sunos5-config.py +++ b/config/sunos5-config.py @@ -165,7 +165,7 @@ CC_WARN = ['-Wall'] ##FIX_STUBS_WARNINGS = -Wno-unused -LLIBS = 'c m dl pthread stdc++' +LLIBS = ['c', 'm', 'dl', 'pthread', 'stdc++'] ##LOPTS = --dynamic ##DYNLDFLAGS = -shared $(LDFLAGS) diff --git a/config/win32-vc-config.py b/config/win32-vc-config.py index f25d8e22308..d7165401705 100644 --- a/config/win32-vc-config.py +++ b/config/win32-vc-config.py @@ -181,7 +181,7 @@ C_WARN = [] CC_WARN = [] CXX_WARN = [] -LLIBS = 'ws2_32 vfw32 winmm kernel32 user32 gdi32 comdlg32 advapi32 shfolder shell32 ole32 oleaut32 uuid' +LLIBS = ['ws2_32', 'vfw32', 'winmm', 'kernel32', 'user32', 'gdi32', 'comdlg32', 'advapi32', 'shfolder', 'shell32', 'ole32', 'oleaut32', 'uuid'] PLATFORM_LINKFLAGS = ''' /SUBSYSTEM:CONSOLE |