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:
2
Makefile
2
Makefile
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user