Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 6a4f30e0fca4668d9626a072264e5207 > files > 2

netpanzer-0.8.7-2.mga6.src.rpm

--- BUILD/netpanzer-0.8.7/SConstruct.orig	2016-11-13 21:59:05.659008129 +0100
+++ BUILD/netpanzer-0.8.7/SConstruct	2016-11-13 22:02:46.143593217 +0100
@@ -137,8 +137,7 @@
         # it seems -O2 makes the mingw port to crash, use -O1
         env.Append(CCFLAGS = '-O1')
     else:
-        env.Append(CCFLAGS = '-O2')
-        env.Append(CCFLAGS = '-s')
+        env.Append(CCFLAGS = env['ENV']['RPM_OPT_FLAGS'].split())
         # if needed to built static...
         #env.Append( LINKFLAGS = [ '-static-libgcc', '-static-libstdc++' ] )
 env.Append(CCFLAGS = ['-Wall'])