freebsd-ports/www/seamonkey/files/patch-mozilla-memory-jemalloc-Makefile.in
2014-03-20 10:15:01 +00:00

10 lines
353 B
Text

--- mozilla/memory/jemalloc/Makefile.in~
+++ mozilla/memory/jemalloc/Makefile.in
@@ -12,3 +12,7 @@ include $(topsrcdir)/config/rules.mk
ifdef GNU_CC
CFLAGS += -std=gnu99
endif
+
+# XXX startup crash workaround for gcc47 on amd64
+jemalloc.$(OBJ_SUFFIX): OS_CFLAGS := $(filter-out -O3 -Ofast,$(OS_CFLAGS))
+jemalloc.$(OBJ_SUFFIX): MOZ_OPTIMIZE_FLAGS=