Browse Source

need to run STRIPTOOL with -s to replace behavior lost from gcc -s

Mike Frysinger 19 years ago
parent
commit
fa82a98b28
1 changed files with 3 additions and 3 deletions
  1. 3 3
      utils/Makefile

+ 3 - 3
utils/Makefile

@@ -44,21 +44,21 @@ readelf.c ldconfig.c ldd.c:	headers
 
 readelf: readelf.c
 	$(CC) $(CFLAGS) $^ -o $@
-	$(STRIPTOOL) -x -R .note -R .comment $@
+	$(STRIPTOOL) -s -x -R .note -R .comment $@
 
 ldconfig: ldconfig.c
 	$(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 $@
+	$(STRIPTOOL) -s -x -R .note -R .comment $@
 
 ldd: ldd.c
 	$(CC) $(CFLAGS) $(PIEFLAG) \
 		-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
 		-DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
 		$^ -o $@
-	$(STRIPTOOL) -x -R .note -R .comment $@
+	$(STRIPTOOL) -s -x -R .note -R .comment $@
 
 iconv: ../libc/misc/wchar/wchar.c
 	$(CC) $(CFLAGS) $(PIEFLAG) -Wl,-s \