mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-02 11:49:33 +01:00
Update zita-convolver's cxxflags for MSVC
Previously: cl : Command line warning D9002 : ignoring unknown option '-fPIC' cl : Command line warning D9002 : ignoring unknown option '-O3' cl : Command line warning D9002 : ignoring unknown option '-ffast-math' cl : Command line warning D9002 : ignoring unknown option '-funroll-loops'
This commit is contained in:
parent
c76f13d6ab
commit
c52e8b7dc7
1 changed files with 4 additions and 1 deletions
|
|
@ -23,7 +23,10 @@ def configure(conf):
|
|||
|
||||
def build(bld):
|
||||
obj = bld.stlib(features = 'cxx cxxstlib', source = 'zita-convolver.cc')
|
||||
obj.cxxflags = [ '-fPIC', '-O3', '-ffast-math', '-funroll-loops' ]
|
||||
if bld.env['build_target'] != 'msvc':
|
||||
obj.cxxflags = ['-fPIC', '-O3', '-ffast-math', '-funroll-loops']
|
||||
else:
|
||||
obj.cxxflags = ['/O2', '/fp:fast']
|
||||
obj.export_includes = ['.']
|
||||
obj.includes = ['.']
|
||||
obj.name = 'zita-convolver'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue