From d9e4ddc38b38b7cf6cc7bdd9dcf6794f8aad8d2e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 29 Dec 2006 23:27:22 +0000 Subject: 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d4cc766..580a559 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.1