From 608762793a4e6f1a4152858dfeb372dc4c3f10a0 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 30 May 2009 15:12:33 +0000 Subject: Many Kudos go to Segher Boessenkool and Patrick Georgi for figuring this one out. Fix the libgcc dependency on abort() due to nested functions. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4326 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/config/Config.lb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config/Config.lb') diff --git a/src/config/Config.lb b/src/config/Config.lb index ae01383030..2a30a91ef9 100644 --- a/src/config/Config.lb +++ b/src/config/Config.lb @@ -47,7 +47,7 @@ end makerule coreboot_ram.o depends "src/arch/$(ARCH)/lib/c_start.o $(DRIVER) coreboot.a $(LIBGCC_FILE_NAME)" - action "$(CC) $(DISTRO_LFLAGS) -nostdlib -r -o $@ $^" + action "$(CC) $(DISTRO_LFLAGS) -nostdlib -r -o $@ src/arch/$(ARCH)/lib/c_start.o $(DRIVER) -Wl,-\( coreboot.a $(LIBGCC_FILE_NAME) -Wl,-\)" end makerule coreboot_ram -- cgit v1.2.3