mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
e5a126e231
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@496 8ced0084-cf51-0410-be5f-012b33b47a6e
18 lines
389 B
Python
18 lines
389 B
Python
Import('env')
|
|
|
|
files = [
|
|
"minilzo.c",
|
|
]
|
|
|
|
def filterWarnings(flags):
|
|
return ' '.join(
|
|
flag
|
|
for flag in flags.split()
|
|
if not flag.startswith('-W')
|
|
)
|
|
env_lzo = env.Copy(
|
|
CCFLAGS = filterWarnings(env['CCFLAGS']),
|
|
CXXFLAGS = filterWarnings(env['CXXFLAGS']),
|
|
)
|
|
env_lzo.StaticLibrary("lzo", files)
|