projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64490e8
)
Nuke user CFLAGS/CXXFLAGS if debug is set.
author
David Robillard
<d@drobilla.net>
Thu, 18 Dec 2014 03:28:14 +0000
(22:28 -0500)
committer
David Robillard
<d@drobilla.net>
Thu, 18 Dec 2014 07:26:51 +0000
(
02:26
-0500)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index f84098f740c64dbe9ed721a23d28c581676b12c1..67fc799763ca34c7335a2c70ec670e8057a7cc22 100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-658,6
+658,11
@@
def configure(conf):
conf.env['MSVC_TARGETS'] = ['x64']
conf.load('msvc')
+ if Options.options.debug:
+ # Nuke user CFLAGS/CXXFLAGS if debug is set (they likely contain -O3, NDEBUG, etc)
+ conf.env['CFLAGS'] = []
+ conf.env['CXXFLAGS'] = []
+
conf.env['VERSION'] = VERSION
conf.env['MAJOR'] = MAJOR
conf.env['MINOR'] = MINOR