projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8132a31
)
Fix MIDI input on Portaudio Backend with 32bit Windows release/optimized builds
author
Tim Mayberry
<mojofunk@gmail.com>
Mon, 3 Aug 2015 13:26:54 +0000
(23:26 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Mon, 3 Aug 2015 14:15:59 +0000
(
00:15
+1000)
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
libs/backends/portaudio/wscript
patch
|
blob
|
history
diff --git
a/libs/backends/portaudio/wscript
b/libs/backends/portaudio/wscript
index 9c661d83b00d22216db1fc9beab3ca3b6b0e3fea..967b6044d5bdef00cbb4dbca5f9acbfbf82d1f8d 100644
(file)
--- 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' ]