13
0

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
This commit is contained in:
Tim Mayberry 2015-08-03 23:26:54 +10:00
parent 8132a31606
commit 9cabc1bb9a

View File

@ -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' ]