summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarc Jones <marcj303@gmail.com>2010-02-13 18:06:29 +0000
committerMarc Jones <marc.jones@amd.com>2010-02-13 18:06:29 +0000
commit516255e6330873470590c843f569a31e52508c00 (patch)
tree385f48da42c8f0d60690b084f892e81a6c7aa6ae /Makefile
parent01708ca504e02450cf4c504e808534177d79d56b (diff)
downloadcoreboot-516255e6330873470590c843f569a31e52508c00.tar.xz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ab4c2a5464..c41d69591f 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