Author: mjones
Date: Sat Feb 13 19:06:29 2010
New Revision: 5124
URL: http://tracker.coreboot.org/trac/coreboot/changeset/5124

Log:
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 <marcj...@gmail.com>
Acked-by: Peter Stuge <pe...@stuge.se>

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile      Fri Feb 12 22:28:15 2010        (r5123)
+++ trunk/Makefile      Sat Feb 13 19:06:29 2010        (r5124)
@@ -312,7 +312,7 @@
 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
 

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to