openbsd-ports/www/mozilla-firefox/patches/patch-parser_html_Makefile_in
espie 8666776b2e gcc3 and gcc4 disagree, so put a common cast to make them compile.
(also compile some file with -O1 in moz)
2010-05-10 12:36:09 +00:00

14 lines
476 B
Plaintext

$OpenBSD: patch-parser_html_Makefile_in,v 1.2 2010/05/10 12:36:09 espie Exp $
gcc runs out of memory with optimization.
--- parser/html/Makefile.in.orig Fri Apr 2 18:02:56 2010
+++ parser/html/Makefile.in Mon May 10 10:26:38 2010
@@ -98,3 +98,6 @@ include $(topsrcdir)/config/rules.mk
INCLUDES += \
-I$(srcdir)/../../content/base/src \
$(NULL)
+
+nsHtml5NamedCharacters.o: CXXFLAGS := $(filter-out -O%,$(CXXFLAGS))
+nsHtml5ElementName.o: CXXFLAGS := $(CXXFLAGS) -O1