summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/gcc-uClibc/Makefile2
-rw-r--r--extra/gcc-uClibc/gcc-uClibc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile
index b4f755153..8ec9dfb13 100644
--- a/extra/gcc-uClibc/Makefile
+++ b/extra/gcc-uClibc/Makefile
@@ -30,7 +30,7 @@ gcc-uClibc-native: gcc-uClibc.h gcc-uClibc.c
# uClibc built for native environment, so why not use it ;-)
$(CC) $(CFLAGS) -nostdinc -I$(UCLIBC_DIR)/include -I$(GCC_INC) \
-Wl,-static gcc-uClibc.c \
- $(UCLIBC_DIR)/libcrt0.o \
+ $(UCLIBC_DIR)/crt0.o \
-nostdlib $(GCC_LIB) $(UCLIBC_DIR)/libc.a \
-s -o gcc-uClibc-$(TARGET_ARCH) #-DDEBUG
diff --git a/extra/gcc-uClibc/gcc-uClibc.c b/extra/gcc-uClibc/gcc-uClibc.c
index 6fd891e32..8fd52676d 100644
--- a/extra/gcc-uClibc/gcc-uClibc.c
+++ b/extra/gcc-uClibc/gcc-uClibc.c
@@ -20,7 +20,7 @@
#include "gcc-uClibc.h"
-#define UCLIBC_START UCLIBC_DIR"libcrt0.o"
+#define UCLIBC_START UCLIBC_DIR"crt0.o"
#define UCLIBC_START_G UCLIBC_START
#define UCLIBC_LIB UCLIBC_DIR"libc.a"
#if 1