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/signal | |
parent | 9b7d191055ade5069c6325fa857e007b4c658b14 (diff) | |
download | uClibc-alpine-430e386b9e69bf3a71c0e2cc06b7094d53ab6501.tar.bz2 uClibc-alpine-430e386b9e69bf3a71c0e2cc06b7094d53ab6501.tar.xz |
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/signal')
-rw-r--r-- | libc/signal/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/signal/Makefile b/libc/signal/Makefile index bc81d0b09..f59f2cd27 100644 --- a/libc/signal/Makefile +++ b/libc/signal/Makefile @@ -24,7 +24,7 @@ TOPDIR=../ include $(TOPDIR)Rules.mak LIBC=$(TOPDIR)libc.a -CSRC=raise.c sys_siglist.c +CSRC=raise.c COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(COBJS) @@ -35,7 +35,9 @@ $(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 clean: rm -f *.[oa] *~ core |