summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-08 22:00:31 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-08 22:00:31 +0000
commit8078b0ff43d603ed37ce5218eea1f7ad350fd2b6 (patch)
tree01f3e0562f1a9ded778688b6ab4fdf4c65dfcc6c /utils/Makefile
parent2da2b791b8ada34b5e46d11d83f04cac22c268ad (diff)
remove strip flags and let STRIPTOOL do the work
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/Makefile b/utils/Makefile
index dec011780..6ac53c5d0 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -43,18 +43,18 @@ headers:
readelf.c ldconfig.c ldd.c: headers
readelf: readelf.c
- $(CC) $(CFLAGS) -Wl,-s $^ -o $@
+ $(CC) $(CFLAGS) $^ -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
ldconfig: ldconfig.c
- $(CC) $(CFLAGS) -Wl,-s $(if $(filter $(UCLIBC_STATIC_LDCONFIG),y),-static) \
+ $(CC) $(CFLAGS) $(if $(filter $(UCLIBC_STATIC_LDCONFIG),y),-static) \
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
-DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
$^ -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
ldd: ldd.c
- $(CC) $(CFLAGS) $(PIEFLAG) -Wl,-s \
+ $(CC) $(CFLAGS) $(PIEFLAG) \
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
-DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
$^ -o $@