From 430e386b9e69bf3a71c0e2cc06b7094d53ab6501 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 20 Oct 2000 00:03:55 +0000 Subject: Strip all object files of all non global symbols and .note and .comment, saving a lot of space in the resultant binaries... -Erik --- libc/unistd/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/unistd') 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)) -- cgit v1.2.3