mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1245422 - Remove -UDEBUG -DNDEBUG flags on Windows opt builds. r=mshal
-DNDEBUG is already set through MOZ_DEBUG_DEFINES, and -UDEBUG is not doing anything useful, since nothing is setting DEBUG on the command line, nor does the compiler by default.
This commit is contained in:
parent
774682b910
commit
11d6bd3c47
@ -195,8 +195,6 @@ ifndef MOZ_DEBUG
|
||||
# Used for generating an optimized build with debugging symbols.
|
||||
# Used in the Windows nightlies to generate symbols for crash reporting.
|
||||
ifdef MOZ_DEBUG_SYMBOLS
|
||||
OS_CXXFLAGS += -UDEBUG -DNDEBUG
|
||||
OS_CFLAGS += -UDEBUG -DNDEBUG
|
||||
ifdef HAVE_64BIT_BUILD
|
||||
OS_LDFLAGS += -DEBUG -OPT:REF,ICF
|
||||
else
|
||||
@ -209,7 +207,7 @@ endif
|
||||
# No opt to give sane callstacks.
|
||||
#
|
||||
ifdef MOZ_DMD
|
||||
MOZ_OPTIMIZE_FLAGS=-Zi -Od -UDEBUG -DNDEBUG
|
||||
MOZ_OPTIMIZE_FLAGS=-Zi -Od
|
||||
ifdef HAVE_64BIT_BUILD
|
||||
OS_LDFLAGS = -DEBUG -OPT:REF,ICF
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user