ports/graphics/mypaint/files/patch-SConstruct
Mathieu Arnold 2fc6fe3088 Update to 1.2.0.
PR:		209297
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
2016-05-09 13:43:20 +00:00

30 lines
944 B
Text

--- SConstruct.orig 2016-01-15 19:42:54 UTC
+++ SConstruct
@@ -95,14 +95,14 @@ if "$CCFLAGS" in env['CXXCOM']:
opts.Update(env)
-env.Append(CXXFLAGS=' -Wall -Wno-sign-compare -Wno-write-strings')
-env.Append(CCFLAGS='-Wall')
-env.Append(CFLAGS='-std=c99')
+#env.Append(CXXFLAGS=' -Wall -Wno-sign-compare -Wno-write-strings')
+#env.Append(CCFLAGS='-Wall')
+#env.Append(CFLAGS='-std=c99')
env['GEGL_VERSION'] = 0.3
# Define strdup() in string.h under glibc >= 2.10 (POSIX.1-2008)
-env.Append(CFLAGS='-D_POSIX_C_SOURCE=200809L')
+#env.Append(CFLAGS='-D_POSIX_C_SOURCE=200809L')
if env.get('CPPDEFINES'):
# make sure assertions are enabled
@@ -113,7 +113,7 @@ if env['debug']:
env.Append(CCFLAGS='-O0', LINKFLAGS='-O0')
else:
# Overridable defaults
- env.Prepend(CCFLAGS='-O3', LINKFLAGS='-O3')
+ env.Prepend(CCFLAGS='', LINKFLAGS='')
if env['enable_profiling'] or env['debug']:
env.Append(CCFLAGS='-g')