mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
cleaned up SConscripts
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@602 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5c6407b805
commit
e0291e735c
15 changed files with 62 additions and 29 deletions
12
Externals/LZO/SConscript
vendored
12
Externals/LZO/SConscript
vendored
|
@ -1,17 +1,13 @@
|
|||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
|
||||
files = [
|
||||
"minilzo.c",
|
||||
]
|
||||
|
||||
def filterWarnings(flags):
|
||||
return ' '.join(
|
||||
flag
|
||||
for flag in flags
|
||||
if not flag.startswith('-W')
|
||||
)
|
||||
env_lzo = env.Clone(
|
||||
CCFLAGS = filterWarnings(env['CCFLAGS']),
|
||||
CXXFLAGS = filterWarnings(env['CXXFLAGS']),
|
||||
CCFLAGS = env.filterWarnings(env['CCFLAGS']),
|
||||
CXXFLAGS = env.filterWarnings(env['CXXFLAGS']),
|
||||
)
|
||||
env_lzo.StaticLibrary("minilzo", files)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue