Ticket #278: ffado-2.0.0-sconsflags.patch
| File ffado-2.0.0-sconsflags.patch, 0.7 kB (added by plater, 2 years ago) |
|---|
-
libffado-2.0.0/SConstruct
old new 31 31 import re 32 32 from string import Template 33 33 import imp 34 import os 35 env = Environment(ENV = os.environ) 34 36 35 37 if not os.path.isdir( "cache" ): 36 38 os.makedirs( "cache" ) … … 291 293 print "Doing a DEBUG build" 292 294 env.MergeFlags( "-DDEBUG -Wall -g" ) 293 295 else: 294 env.MergeFlags( "-O2 -DNDEBUG " )296 env.MergeFlags( "-O2 -DNDEBUG -fomit-frame-pointer -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -ggdb -fpermissive" ) 295 297 296 298 if env['PROFILE']: 297 299 print "Doing a PROFILE build"
