--- 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')