From: Marc Jones Date: Sat, 13 Feb 2010 18:06:29 +0000 (+0000) Subject: I was having problems building a working romcc with the -O2 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=coreboot.git;a=commitdiff_plain;h=516255e6330873470590c843f569a31e52508c00 I was having problems building a working romcc with the -O2 optimization flag on ubuntu hardy. It was causing this error building the bootblock: bootblock.c:49.0: Internal compiler error: low: next != prev? Signed-off-by: Marc Jones Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5124 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- diff --git a/Makefile b/Makefile index ab4c2a546..c41d69591 100644 --- a/Makefile +++ b/Makefile @@ -312,7 +312,7 @@ ifeq ($(_OS),CYGWIN_) endif $(obj)/romcc: $(top)/util/romcc/romcc.c @printf " HOSTCC $(subst $(obj)/,,$(@)) (this may take a while)\n" - $(HOSTCC) -g -O2 $(STACK) -Wall -o $@ $< + $(HOSTCC) -g $(STACK) -Wall -o $@ $< .PHONY: $(PHONY) prepare prepare2 clean distclean doxygen doxy coreboot