mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-23 13:47:24 +01:00
Nuke user CFLAGS/CXXFLAGS if debug is set.
This commit is contained in:
parent
64490e88e4
commit
d36b5c78bd
1 changed files with 5 additions and 0 deletions
5
wscript
5
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue