Do not compile external code with extra warnings, since we want to keep changes to this code minimal to allow easy upgrades.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@343 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f8d7231be8
commit
411b81088b
|
@ -8,5 +8,14 @@ files = [
|
|||
"PowerPCDisasm.cpp",
|
||||
]
|
||||
|
||||
env_bochs = env.Copy()
|
||||
def filterWarnings(flags):
|
||||
return ' '.join(
|
||||
flag
|
||||
for flag in flags.split()
|
||||
if not flag.startswith('-W')
|
||||
)
|
||||
env_bochs = env.Copy(
|
||||
CCFLAGS = filterWarnings(env['CCFLAGS']),
|
||||
CXXFLAGS = filterWarnings(env['CXXFLAGS']),
|
||||
)
|
||||
env_bochs.StaticLibrary("bdisasm", files)
|
||||
|
|
Loading…
Reference in New Issue