mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 02:28:51 +00:00
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
This commit is contained in:
parent
0ebba1bde0
commit
59974dfb5b
11 changed files with 154 additions and 98 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue