9fa5913798
- Lua dependency is mandatory since 0.9 - SMPEG dependency added - GCC 4.3+ dependency added because of a compiler bug in gcc 4.2 from base with smpeg/MPEGfilter.h - SSE disabled because of a build failure PR: ports/143072 Submitted by: Bernhard Froehlich <decke at bluelife.at> Approved by: maintainer timeout (danfe@, three months)
21 lines
929 B
Text
21 lines
929 B
Text
--- SConstruct.orig 2009-12-10 15:58:55.000000000 +0100
|
|
+++ SConstruct 2010-01-16 17:07:22.000000000 +0100
|
|
@@ -57,6 +57,8 @@
|
|
env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
|
|
if os.environ.has_key('LDFLAGS'):
|
|
env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
|
|
+if os.environ.has_key('CPPPATH'):
|
|
+ env['CPPPATH'] = os.environ['CPPPATH'].split()
|
|
|
|
if (sys.platform != "win32" and env['gcc_visibility']):
|
|
env.Append(CCFLAGS=['-fvisibility=hidden', '-DGCC_HASCLASSVISIBILITY'])
|
|
@@ -98,9 +100,6 @@
|
|
if debug:
|
|
env.Append(CCFLAGS=['-ggdb', '-D_FORTIFY_SOURCE=2'])
|
|
env.Append(CPPFLAGS=['-ggdb', '-D_FORTIFY_SOURCE=2'])
|
|
- else:
|
|
- env.Append(CCFLAGS=['-O3'])
|
|
- env.Append(CPPFLAGS=['-O3'])
|
|
|
|
env.Append(CPPFLAGS=['-Wall', '-Wno-deprecated', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
|
|
env.Append(CCFLAGS=['-Wall', '-Wno-deprecated', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
|