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/pwd_grp/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libc/pwd_grp/Makefile') diff --git a/libc/pwd_grp/Makefile b/libc/pwd_grp/Makefile index b6ee4df8a..5b5218c27 100644 --- a/libc/pwd_grp/Makefile +++ b/libc/pwd_grp/Makefile @@ -37,7 +37,12 @@ $(LIBC): ar-target ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) -$(OBJS): Makefile +$(COBJS): + $(CC) $(CFLAGS) $< -c $*.c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o + +$(OBJ): Makefile + __getgrent.c: config.h initgroups.c: config.h -- cgit v1.2.3