diff options
author | Tristan Heaven <tristan@gentoo.org> | 2010-05-01 21:16:34 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2010-05-01 21:16:34 +0000 |
commit | c1c27cb3eb370d01d013bf12ca79475e773607d7 (patch) | |
tree | c138cb4dc6dfbe9b5c675909fcd92179374a3ad6 /games-util/xboxdrv/files | |
parent | Version bump. (diff) | |
download | historical-c1c27cb3eb370d01d013bf12ca79475e773607d7.tar.gz historical-c1c27cb3eb370d01d013bf12ca79475e773607d7.tar.bz2 historical-c1c27cb3eb370d01d013bf12ca79475e773607d7.zip |
Version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'games-util/xboxdrv/files')
-rw-r--r-- | games-util/xboxdrv/files/xboxdrv-0.4.11-build.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/games-util/xboxdrv/files/xboxdrv-0.4.11-build.patch b/games-util/xboxdrv/files/xboxdrv-0.4.11-build.patch new file mode 100644 index 000000000000..96477c6fce3a --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv-0.4.11-build.patch @@ -0,0 +1,30 @@ +--- SConstruct ++++ SConstruct +@@ -1,8 +1,7 @@ + # -*- python -*- + +-if True: ++if False: + env = Environment(CPPFLAGS=['-g', '-O2', '-Wall', '-ansi', '-pedantic']) +-else: + env = Environment(CXXFLAGS= [ "-O3", "-g3", + "-ansi", + "-pedantic", +@@ -18,6 +17,17 @@ + "-Winit-self", # only works with >= -O1 + "-Wno-unused-parameter", + ]) ++import os ++import SCons.Util ++ ++env = Environment(CPPFLAGS=['-Wall', '-ansi', '-pedantic']) ++if os.environ.has_key('CXX'): ++ env['CXX'] = os.environ['CXX'] ++if os.environ.has_key('CXXFLAGS'): ++ env['CXXFLAGS'] = SCons.Util.CLVar(os.environ['CXXFLAGS']) ++if os.environ.has_key('LDFLAGS'): ++ env['LINKFLAGS'] = SCons.Util.CLVar(os.environ['LDFLAGS']) ++ + conf = Configure(env) + + if not conf.env['CXX']: |