openbsd-ports/www/mozilla-firefox/patches/patch-parser_html_Makefile_in

15 lines
480 B
Plaintext
Raw Normal View History

$OpenBSD: patch-parser_html_Makefile_in,v 1.9 2012/06/11 15:29:56 landry Exp $
gcc runs out of memory with optimization.
--- parser/html/Makefile.in.orig Wed May 2 05:17:09 2012
+++ parser/html/Makefile.in Wed May 9 23:06:35 2012
@@ -128,4 +128,7 @@ INCLUDES += \
-I$(srcdir)/../../content/base/src \
$(NULL)
+nsHtml5NamedCharacters.o: CXXFLAGS := $(filter-out -O%,$(CXXFLAGS))
+nsHtml5ElementName.o: CXXFLAGS := $(CXXFLAGS) -O1
+
#DEFINES += -DENABLE_VOID_MENUITEM