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)