mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
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
11
Externals/Bochs_disasm/SConscript
vendored
11
Externals/Bochs_disasm/SConscript
vendored
@ -8,5 +8,14 @@ files = [
|
|||||||
"PowerPCDisasm.cpp",
|
"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)
|
env_bochs.StaticLibrary("bdisasm", files)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user