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 <marcj303@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5124 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Marc Jones 2010-02-13 18:06:29 +00:00 committed by Marc Jones
parent 01708ca504
commit 516255e633
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ ifeq ($(_OS),CYGWIN_)
endif endif
$(obj)/romcc: $(top)/util/romcc/romcc.c $(obj)/romcc: $(top)/util/romcc/romcc.c
@printf " HOSTCC $(subst $(obj)/,,$(@)) (this may take a while)\n" @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 .PHONY: $(PHONY) prepare prepare2 clean distclean doxygen doxy coreboot