File openCOLLADA-buildflags.patch of Package openCOLLADA

Index: SConstruct
===================================================================
--- SConstruct.orig	2010-11-22 10:12:57.000000000 +0200
+++ SConstruct	2010-11-22 10:13:25.000000000 +0200
@@ -36,6 +36,8 @@ else:
     configurationName = 'debug'
     env['CPPFLAGS'] = ' -O0 -g3 -ggdb3 -fno-inline'

+env['CPPFLAGS'] = ' -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -ggdb'
+
 if env['PG']:
     configurationName += 'Pg'
     env['CPPFLAGS'] += ' -pg'
Index: COLLADASaxFrameworkLoader/SConscript
===================================================================
--- COLLADASaxFrameworkLoader/SConscript.orig	2010-11-22 10:12:57.000000000 +0200
+++ COLLADASaxFrameworkLoader/SConscript	2010-11-22 10:13:25.000000000 +0200
@@ -4,6 +4,8 @@ Import('env')

 libName = 'OpenCOLLADASaxFrameworkLoader'

+env['CPPFLAGS'] = ' -fmessage-length=0 -O0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -ggdb'
+
 srcDirs = [ 'src/',
             'src/generated14/',
             'src/generated15/']
openSUSE Build Service is sponsored by