mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 621259 - USE -OPT:REF,ICF on Win64 PGO. r=ted a=beltzner
This commit is contained in:
parent
b3b3f3320b
commit
7fb26057d9
@ -219,8 +219,12 @@ endif
|
||||
ifdef MOZ_DEBUG_SYMBOLS
|
||||
OS_CXXFLAGS += -Zi -UDEBUG -DNDEBUG
|
||||
OS_CFLAGS += -Zi -UDEBUG -DNDEBUG
|
||||
ifdef HAVE_64BIT_OS
|
||||
OS_LDFLAGS += -DEBUG -OPT:REF,ICF
|
||||
else
|
||||
OS_LDFLAGS += -DEBUG -OPT:REF
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef MOZ_QUANTIFY
|
||||
# -FIXED:NO is needed for Quantify to work, but it increases the size
|
||||
@ -239,7 +243,11 @@ endif
|
||||
#
|
||||
ifdef NS_TRACE_MALLOC
|
||||
MOZ_OPTIMIZE_FLAGS=-Zi -Od -UDEBUG -DNDEBUG
|
||||
ifdef HAVE_64BIT_OS
|
||||
OS_LDFLAGS = -DEBUG -PDB:NONE -OPT:REF,ICF
|
||||
else
|
||||
OS_LDFLAGS = -DEBUG -PDB:NONE -OPT:REF
|
||||
endif
|
||||
endif # NS_TRACE_MALLOC
|
||||
|
||||
endif # MOZ_DEBUG
|
||||
|
@ -219,8 +219,12 @@ endif
|
||||
ifdef MOZ_DEBUG_SYMBOLS
|
||||
OS_CXXFLAGS += -Zi -UDEBUG -DNDEBUG
|
||||
OS_CFLAGS += -Zi -UDEBUG -DNDEBUG
|
||||
ifdef HAVE_64BIT_OS
|
||||
OS_LDFLAGS += -DEBUG -OPT:REF,ICF
|
||||
else
|
||||
OS_LDFLAGS += -DEBUG -OPT:REF
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef MOZ_QUANTIFY
|
||||
# -FIXED:NO is needed for Quantify to work, but it increases the size
|
||||
@ -239,7 +243,11 @@ endif
|
||||
#
|
||||
ifdef NS_TRACE_MALLOC
|
||||
MOZ_OPTIMIZE_FLAGS=-Zi -Od -UDEBUG -DNDEBUG
|
||||
ifdef HAVE_64BIT_OS
|
||||
OS_LDFLAGS = -DEBUG -PDB:NONE -OPT:REF,ICF
|
||||
else
|
||||
OS_LDFLAGS = -DEBUG -PDB:NONE -OPT:REF
|
||||
endif
|
||||
endif # NS_TRACE_MALLOC
|
||||
|
||||
endif # MOZ_DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user