projects
/
vamp-aubio-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
122d988
)
wscript: also use -g -Wall -Wextra with clang
author
Paul Brossier
<piem@piem.org>
Fri, 22 Jul 2016 15:17:29 +0000
(17:17 +0200)
committer
Paul Brossier
<piem@piem.org>
Fri, 22 Jul 2016 15:17:29 +0000
(17:17 +0200)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index
cb3d845
..
9573211
100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-53,9
+53,12
@@
def configure(conf):
conf.check_cfg (package='vamp-sdk', uselib_store = 'VAMP',
args=['--cflags','--libs'], mandatory=True)
conf.check_cfg (package='vamp-sdk', uselib_store = 'VAMP',
args=['--cflags','--libs'], mandatory=True)
+ if conf.env.CC_NAME != 'msvc':
+ conf.env.CXXFLAGS += ['-g', '-Wall', '-Wextra']
+
if sys.platform.startswith('linux'):
if sys.platform.startswith('linux'):
- conf.env['CXXFLAGS'] += ['-
Wall', '-Wextra', '-O3', '-msse', '-msse2
',
- '-
mfpmath=sse', '-
ftree-vectorize']
+ conf.env['CXXFLAGS'] += ['-
O3', '-msse', '-msse2', '-mfpmath=sse
',
+ '-ftree-vectorize']
conf.env.append_value('LINKFLAGS', '-Wl,-z,defs')
# add plugin.map
conf.env.append_value('LINKFLAGS', '-Wl,--version-script=../vamp-plugin.map')
conf.env.append_value('LINKFLAGS', '-Wl,-z,defs')
# add plugin.map
conf.env.append_value('LINKFLAGS', '-Wl,--version-script=../vamp-plugin.map')