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.8 2012/04/30 15:28:42 landry Exp $
gcc runs out of memory with optimization.
--- parser/html/Makefile.in.orig Wed Apr 11 15:55:18 2012
+++ parser/html/Makefile.in Wed Apr 18 22:09:15 2012
@@ -122,4 +122,7 @@ INCLUDES += \
-I$(srcdir)/../../content/base/src \
$(NULL)
+nsHtml5NamedCharacters.o: CXXFLAGS := $(filter-out -O%,$(CXXFLAGS))
+nsHtml5ElementName.o: CXXFLAGS := $(CXXFLAGS) -O1
+
#DEFINES += -DENABLE_VOID_MENUITEM