diff options
author | Mike Frysinger | 2006-12-29 23:27:22 +0000 |
---|---|---|
committer | Mike Frysinger | 2006-12-29 23:27:22 +0000 |
commit | d9e4ddc38b38b7cf6cc7bdd9dcf6794f8aad8d2e (patch) | |
tree | c9760f34bfa28a752b5b42710d98d39a45d6f3e2 /Makefile | |
parent | c1a339983fa9a2af2971f5c340bd33e7a6930384 (diff) | |
download | busybox-d9e4ddc38b38b7cf6cc7bdd9dcf6794f8aad8d2e.zip busybox-d9e4ddc38b38b7cf6cc7bdd9dcf6794f8aad8d2e.tar.gz |
we need to use the compiler driver to invoke LD as LDFLAGS is in the form the compiler driver understands, not the form the linker itself understands, so trying to invoke ld directly and passing it LDFLAGS while invoking the compiler driver in other places and passing it LDFLAGS does not work
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -273,7 +273,7 @@ MAKEFLAGS += -rR # Make variables (CC, etc...) AS = $(CROSS_COMPILE)as -LD = $(CROSS_COMPILE)ld +LD = $(CROSS_COMPILE)gcc -nostdlib CC = $(CROSS_COMPILE)gcc CPP = $(CC) -E AR = $(CROSS_COMPILE)ar |