freebsd-ports/devel/rlvm/files/patch-SConstruct
Jan Beich 945fc04c1b Update to 0.14.0.20150223 (snapshot)
ChangeLog:
- Remove optional decoders (png, jpg, mp3)
- Change "override" to "final" in some places
- Upstream some changes from FreeBSD port,
  see https://github.com/eglaysher/rlvm/pull/64
2015-02-23 07:50:23 +00:00

38 lines
850 B
Text

--- SConstruct~
+++ SConstruct
@@ -19,7 +19,12 @@ AddOption('--fullstatic', action='store_
# Set libraries used by all configurations and all binaries in rlvm.
env = Environment(
+ ENV=os.environ,
tools = ["default", "rlvm"],
+ **dict((k, v.split()) for k, v in ARGUMENTS.iteritems())
+)
+
+env.Append(
LIBS = ["z"],
@@ -314,7 +311,6 @@ if GetOption('release'):
# Now add release optimizations to the environment
env.Append(
CPPFLAGS = [
- "-Os",
"-DNDEBUG",
"-DBOOST_DISABLE_ASSERTS"
]
@@ -360,13 +356,7 @@ elif GetOption('pprof'):
"profiler"]
)
else:
- # Add debugging flags to all binaries here
- env.Append(
- CPPFLAGS = [
- "-g",
- "-O0"
- ]
- )
+ pass
# Cross platform core of rlvm. Produces librlvm.a and libsystem_sdl.a
env.SConscript("SConscript",