summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/Makefile4
1 files changed, 1 insertions, 3 deletions
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/