summaryrefslogtreecommitdiff
path: root/extra/gcc-uClibc/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-24 04:02:41 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-24 04:02:41 +0000
commitbc2269c118e1b36fff898b2d1ed672ccf4d9fa5e (patch)
treec8e6bf46f12273814771560db9cb3317259f0990 /extra/gcc-uClibc/Makefile
parent96e940864c0dfdd66f6ebc4a6ef1f58d1d81f238 (diff)
Send the -s to the linker
Diffstat (limited to 'extra/gcc-uClibc/Makefile')
-rw-r--r--extra/gcc-uClibc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile
index 9d30a0d1a..656f246f8 100644
--- a/extra/gcc-uClibc/Makefile
+++ b/extra/gcc-uClibc/Makefile
@@ -30,7 +30,7 @@ gcc-uClibc.h: $(TOPDIR)/Config
@echo "#define BUILD_DYNAMIC_LINKER " \"$(UCLIBC_DIR)/lib/$(UCLIBC_LDSO)\" >> gcc-uClibc.h
gcc-uClibc: gcc-uClibc.h gcc-uClibc.c
- gcc -Wall -O2 -s gcc-uClibc.c -o $(TARGET_ARCH)-uclibc-gcc
+ gcc -Wall -O2 -Wl,-s gcc-uClibc.c -o $(TARGET_ARCH)-uclibc-gcc
ld-uClibc:
@echo "#!/bin/sh" > $(TARGET_ARCH)-uclibc-ld