From 57bb3cd90def87238913f8a6c6362129f5198d81 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Mon, 26 Nov 2007 16:58:20 +0100 Subject: don't against link libgcc We don't want to link against libgcc. Signed-off-by: Marc Kleine-Budde --- arch/sandbox/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'arch/sandbox/Makefile') diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index 80545e90a9..c059d3af8e 100644 --- a/arch/sandbox/Makefile +++ b/arch/sandbox/Makefile @@ -24,8 +24,6 @@ CFLAGS := -fno-common -Os -Dmalloc=u_boot_malloc \ -Dfputs=u_boot_fputs -Dsetenv=u_boot_setenv \ -Dgetenv=u_boot_getenv -Dprintf=u_boot_printf -LDFLAGS_uboot :=-L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc - ifeq ($(incdir-y),) incdir-y := $(machine-y) endif @@ -67,7 +65,7 @@ maketools: include/asm-sandbox/.arch cmd_uboot__ = $(CC) -o $@ -Wl,-T,$(uboot-lds) \ -Wl,--start-group $(uboot-common) -Wl,--end-group \ - -lrt -Wl,-rpath,/lib -lrt -lpthread + -lrt -lpthread common-y += arch/sandbox/lib/ arch/sandbox/board/ -- cgit v1.2.3