From d0cb3d8ab93b8842b13c771b9aded6d6529eb8eb Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 23 Apr 2016 20:02:27 +0200 Subject: [PATCH] tests/wscript_build: no -g for msvc --- tests/wscript_build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/wscript_build b/tests/wscript_build index 28ed3e3a..1d081824 100644 --- a/tests/wscript_build +++ b/tests/wscript_build @@ -1,6 +1,7 @@ # vim:set syntax=python: lib = 'm' if 'CL.exe' not in ctx.env.CC[0] else None +cflags = ['-g'] if 'CL.exe' not in ctx.env.CC[0] else None uselib = [] uselib += ['FFTW3', 'FFTW3F'] @@ -25,5 +26,5 @@ for target_name in ctx.path.ant_glob('src/**/*.c'): includes = includes, install_path = None, defines = 'AUBIO_UNSTABLE_API=1', - cflags = ['-g'], + cflags = cflags, use = 'aubio') -- 2.11.0