guitarix/guitarix-fix-ladspa-O3.patch

21 lines
1009 B
Diff
Raw Normal View History

diff -Nurp guitarix2-0.16.0.orig/wscript guitarix2-0.16.0/wscript
--- guitarix2-0.16.0.orig/wscript 2011-06-09 15:19:23.000000000 +1000
+++ guitarix2-0.16.0/wscript 2011-06-14 18:17:34.000000000 +1000
@@ -85,7 +85,7 @@ def set_options(opt):
comp.add_option('--cxxflags-release',
type='string',
- default='-O3 -DNDEBUG',
+ default='-DNDEBUG',
dest='cxxflags_release',
help='additional C++ compiler flags for release version (not used if --debug) [Default: %default]')
@@ -420,6 +420,7 @@ def configure(conf):
conf.check_cfg(package='fftw3f', atleast_version='3.1.2', args='--cflags --libs', uselib_store='FFTW3', mandatory=1)
if not Options.options.no_ladspa:
conf.check(header_name='ladspa.h', mandatory=1)
+ conf.env['LADSPA'] = True
conf.check(header_name='boost/format.hpp', mandatory=1)
# convolver and resampler
if not Options.options.includeconvolver: