diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-10-20 00:03:55 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-10-20 00:03:55 +0000 |
commit | 430e386b9e69bf3a71c0e2cc06b7094d53ab6501 (patch) | |
tree | 0b17aafc4019eb779c9ed96bcf063c676a6b0a16 /libc/unistd/Makefile | |
parent | 9b7d191055ade5069c6325fa857e007b4c658b14 (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/unistd/Makefile')
-rw-r--r-- | libc/unistd/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/unistd/Makefile b/libc/unistd/Makefile index a9593c36b..4e5e5fc8a 100644 --- a/libc/unistd/Makefile +++ b/libc/unistd/Makefile @@ -37,6 +37,10 @@ $(LIBC): ar-target subdirs ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) +$(COBJS): + $(CC) $(CFLAGS) $< -c $*.c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o + $(OBJ): Makefile subdirs: $(patsubst %, _dir_%, $(DIRS)) |