mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1245422 - Remove MOZ_OPTIMIZE_FLAGS override when building with DMD enabled on Windows. r=mshal
-Zi is already set through MOZ_DEBUG_FLAGS, which is set from --enable-debug-symbols, which is the default, and if someone goes all the way to explicitly disable them, we might as well not silently override their decision. -Od disables optimization, and the given reason was for sane stack traces, but the fact is we're currently building debug builds, which have been optimized by default for a while, and are the only ones with DMD enabled by default, without overriding with -Od and are apparently happy with it.
This commit is contained in:
parent
5709c1b4f5
commit
3d3c510609
@ -204,10 +204,8 @@ endif
|
||||
|
||||
#
|
||||
# Handle DMD in optimized builds.
|
||||
# No opt to give sane callstacks.
|
||||
#
|
||||
ifdef MOZ_DMD
|
||||
MOZ_OPTIMIZE_FLAGS=-Zi -Od
|
||||
ifdef HAVE_64BIT_BUILD
|
||||
OS_LDFLAGS = -DEBUG -OPT:REF,ICF
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user