diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-08-03 23:26:54 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2015-08-04 00:15:59 +1000 |
commit | 9cabc1bb9a866336c6709afbcd0063b3d4f49855 (patch) | |
tree | 3dc9418a80d1abdeb4abd8fd9ff765e87379a0a1 | |
parent | 8132a316060dd1300b177d7782d0616ca9306c85 (diff) |
Fix MIDI input on Portaudio Backend with 32bit Windows release/optimized builds
MIDI input doesn't work with -O3 or -O2 optimization levels, no real idea why
at this point. So just append -O0 to CXXFLAGS to override previous optimization
flags for compiling the PortaudioBackend files
-rw-r--r-- | libs/backends/portaudio/wscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/backends/portaudio/wscript b/libs/backends/portaudio/wscript index 9c661d83b0..967b6044d5 100644 --- a/libs/backends/portaudio/wscript +++ b/libs/backends/portaudio/wscript @@ -40,3 +40,6 @@ def build(bld): 'ARDOURBACKEND_DLL_EXPORTS', 'USE_MMCSS_THREAD_PRIORITIES' ] + if bld.env['build_target'] == 'mingw': + # MIDI input doesn't work with -O3 or -O2 so override + obj.cxxflags = [ '-O0' ] |