aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cc1fd305b..08262cd0d 100644
--- a/Makefile
+++ b/Makefile
@@ -274,7 +274,7 @@ MAKEFLAGS += -rR
AS = $(CROSS_COMPILE)as
CC = $(CROSS_COMPILE)gcc
-LD = $(CROSS_COMPILE)ld
+LD = $(CC) -nostdlib
CPP = $(CC) -E
AR = $(CROSS_COMPILE)ar
NM = $(CROSS_COMPILE)nm