ports/graphics/mypaint/files/patch-brushlib_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
1,018 B
Text

--- brushlib/SConstruct.orig 2016-01-15 19:42:55 UTC
+++ brushlib/SConstruct
@@ -57,14 +57,14 @@ if os.environ.has_key('LDFLAGS'):
opts.Update(env)
-env.Append(CXXFLAGS=' -Wall -Wno-sign-compare -Wno-write-strings')
-env.Append(CCFLAGS='-Wall -Wstrict-prototypes -Werror')
-env.Append(CFLAGS='-std=c99')
+#env.Append(CXXFLAGS=' -Wall -Wno-sign-compare -Wno-write-strings')
+#env.Append(CCFLAGS='-Wall -Wstrict-prototypes -Werror')
+#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
@@ -75,7 +75,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')