summaryrefslogtreecommitdiff
path: root/ldso/util
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-24 04:35:54 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-24 04:35:54 +0000
commit810c04099bbb32dfde1697a4b59d1ab7f18b8eea (patch)
treee4ab4145544f09bc1d6511f92d096db96d99fd68 /ldso/util
parentbc2269c118e1b36fff898b2d1ed672ccf4d9fa5e (diff)
Pass the -s to the linker
Diffstat (limited to 'ldso/util')
-rw-r--r--ldso/util/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/util/Makefile b/ldso/util/Makefile
index aec74b5aa..2220b5f3e 100644
--- a/ldso/util/Makefile
+++ b/ldso/util/Makefile
@@ -35,7 +35,7 @@ readelf: readelf.c
strip -x -R .note -R .comment $@
readelf.target: readelf.c
- $(TARGET_CC) $(CFLAGS) --uclibc-use-build-dir -s readelf.c -o $@
+ $(TARGET_CC) $(CFLAGS) --uclibc-use-build-dir -Wl,-s readelf.c -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
ifeq ($(strip $(LIBRARY_CACHE)),)
@@ -65,7 +65,7 @@ ldd: ldd.c
strip -x -R .note -R .comment $@
ldd.target: ldd.c
- $(TARGET_CC) $(CFLAGS) --uclibc-use-build-dir -s -DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \
+ $(TARGET_CC) $(CFLAGS) --uclibc-use-build-dir -Wl,-s -DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \
-DUCLIBC_DEVEL_PREFIX=\"$(DEVEL_PREFIX)\" \
-DUCLIBC_BUILD_DIR=\"$(shell cd $(TOPDIR) && pwd)\" \
-DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" \