summaryrefslogtreecommitdiff
path: root/libc/inet/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-20 00:03:55 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-20 00:03:55 +0000
commit430e386b9e69bf3a71c0e2cc06b7094d53ab6501 (patch)
tree0b17aafc4019eb779c9ed96bcf063c676a6b0a16 /libc/inet/Makefile
parent9b7d191055ade5069c6325fa857e007b4c658b14 (diff)
Strip all object files of all non global symbols and .note and
.comment, saving a lot of space in the resultant binaries... -Erik
Diffstat (limited to 'libc/inet/Makefile')
-rw-r--r--libc/inet/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/inet/Makefile b/libc/inet/Makefile
index 8c846370f..95432060e 100644
--- a/libc/inet/Makefile
+++ b/libc/inet/Makefile
@@ -47,9 +47,11 @@ ar-target: $(OBJS)
$(MOBJ): $(MSRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
$(MOBJ2): $(MSRC2)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
$(OBJS): Makefile