From cc2e336b2f45779c2a338cd410b4a175622b87a6 Mon Sep 17 00:00:00 2001 From: Cameron Kaiser Date: Sun, 26 Jan 2020 12:01:10 -0800 Subject: [PATCH] #369: bustage fix for opt builds --- security/nss/coreconf/Darwin.mk | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/security/nss/coreconf/Darwin.mk b/security/nss/coreconf/Darwin.mk index a22d05f87..7c7b4ceac 100644 --- a/security/nss/coreconf/Darwin.mk +++ b/security/nss/coreconf/Darwin.mk @@ -88,11 +88,14 @@ endif OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK $(DARWIN_SDK_CFLAGS) ifdef BUILD_OPT -ifeq (11,$(ALLOW_OPT_CODE_SIZE)$(OPT_CODE_SIZE)) - OPTIMIZER = -Oz -else - OPTIMIZER = -O2 -endif + +# TenFourFox overrides optimization settings; let it. +#ifeq (11,$(ALLOW_OPT_CODE_SIZE)$(OPT_CODE_SIZE)) +# OPTIMIZER = -Oz +#else +# OPTIMIZER = -O2 +#endif + ifdef MOZ_DEBUG_SYMBOLS ifdef MOZ_DEBUG_FLAGS OPTIMIZER += $(MOZ_DEBUG_FLAGS)