SConscript made all the rest of env.Copy into env.Clone

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@542 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-09-16 16:50:09 +00:00
parent d36844799b
commit 0f4c4b6e1c
10 changed files with 10 additions and 10 deletions

View File

@ -14,7 +14,7 @@ def filterWarnings(flags):
for flag in flags.split()
if not flag.startswith('-W')
)
env_bochs = env.Copy(
env_bochs = env.Clone(
CCFLAGS = filterWarnings(env['CCFLAGS']),
CXXFLAGS = filterWarnings(env['CXXFLAGS']),
)

View File

@ -15,7 +15,7 @@ files = ["LogWindow.cpp",
"RegisterView.cpp",
"JitWindow.cpp",
]
wxenv = env.Copy()
wxenv = env.Clone()
wxenv.Append(
CXXFLAGS = ' ' + ' '.join([
'`wx-config --cppflags`',

View File

@ -20,7 +20,7 @@ libs = [
'debwx', 'core', 'minilzo', 'discio', 'bdisasm', 'videocommon', 'common', 'z'
]
wxenv = env.Copy()
wxenv = env.Clone()
wxenv.Append(
CXXFLAGS = ' ' + ' '.join([
'`wx-config --cppflags`',

View File

@ -12,6 +12,6 @@ files = [
"Profiler.cpp",
]
env_common = env.Copy()
env_common = env.Clone()
env_common.Append(CXXFLAGS = ' ' + ' '.join([ '-fPIC' ]))
env_common.StaticLibrary("videocommon", files)

View File

@ -18,7 +18,7 @@ files = [
"UCodes/UCode_Zelda.cpp",
]
dspenv = env.Copy()
dspenv = env.Clone()
dspenv.Append(
CXXFLAGS = ' ' + ' '.join([ '-fPIC', '`pkg-config --cflags ao`' ]),
LINKFLAGS = ' ' + ' '.join([ '`pkg-config --libs ao`' ])

View File

@ -17,7 +17,7 @@ files = [
"main.cpp",
]
dspenv = env.Copy()
dspenv = env.Clone()
dspenv.Append(
CXXFLAGS = ' ' + ' '.join([ '-fPIC', '`pkg-config --cflags ao`' ]),
LINKFLAGS = ' ' + ' '.join([ '`pkg-config --libs ao`' ])

View File

@ -10,5 +10,5 @@ files = [
"main.cpp",
]
padenv = env.Copy()
padenv = env.Clone()
padenv.SharedLibrary(output, files, LIBS=["common"])

View File

@ -59,7 +59,7 @@ if useSDL:
compileFlags += [ '`sdl-config --cflags`', '-DUSE_SDL=1' ]
linkFlags += [ '`sdl-config --libs`' ]
gfxenv = env.Copy()
gfxenv = env.Clone()
gfxenv.Append(
CXXFLAGS = ' ' + ' '.join(compileFlags),
LINKFLAGS = ' ' + ' '.join(linkFlags)

View File

@ -10,7 +10,7 @@ files = [
"Wiimote_Test.cpp",
]
padenv = env.Copy()
padenv = env.Clone()
padenv.Append(
CXXFLAGS = ' ' + ' '.join([
'-fPIC', '`wx-config --cppflags`', '`pkg-config --cflags sdl`'

View File

@ -12,7 +12,7 @@ files = [
"GUI/ConfigBox.cpp",
]
padenv = env.Copy()
padenv = env.Clone()
padenv.Append(
CXXFLAGS = ' ' + ' '.join([
'-fPIC', '`wx-config --cppflags`', '`pkg-config --cflags sdl`'