diff options
| author | Maarten ter Huurne <maarten@treewalker.org> | 2008-08-26 22:28:42 +0000 |
|---|---|---|
| committer | Maarten ter Huurne <maarten@treewalker.org> | 2008-08-26 22:28:42 +0000 |
| commit | 59974dfb5bfd2488eb31caf8df4a34565fb7c4e0 (patch) | |
| tree | 5594fa0a91cebdb4de7c2b7b366e2cdf973d97ce /Source/Core/VideoCommon/Src/SConscript | |
| parent | 0ebba1bde0adcc1f6a08832d54a3faaadaddae50 (diff) | |
Only use "-fPIC" for compiling objects that will be part of dynamic libs. Make SConscripts inherit the compile flags from the top level instead of overriding them.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@329 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/SConscript')
| -rw-r--r-- | Source/Core/VideoCommon/Src/SConscript | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Source/Core/VideoCommon/Src/SConscript b/Source/Core/VideoCommon/Src/SConscript index caadfca091..2596e7db13 100644 --- a/Source/Core/VideoCommon/Src/SConscript +++ b/Source/Core/VideoCommon/Src/SConscript @@ -1,13 +1,15 @@ Import('env') -files = ["BPMemory.cpp", - "CPMemory.cpp", - "LookUpTables.cpp", - "TextureDecoder.cpp", - "XFMemory.cpp", - "XFBConvert.cpp", - "Fifo.cpp", - ] +files = [ + "BPMemory.cpp", + "CPMemory.cpp", + "LookUpTables.cpp", + "TextureDecoder.cpp", + "XFMemory.cpp", + "XFBConvert.cpp", + "Fifo.cpp", + ] -env_common = env.Copy(CXXFLAGS = " -fPIC ") +env_common = env.Copy() +env_common.Append(CXXFLAGS = ' ' + ' '.join([ '-fPIC' ])) env_common.StaticLibrary("videocommon", files) |
