From 350c0215ef0e7cd915c2a2931b548e75d540a686 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 16 Nov 2000 20:35:25 +0000 Subject: Fix it so files are not stripped when debugging (doh!). Fix up strip rules. With this fix in place, I can now find what is wrong with malloc... -Erik --- test/signal/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'test/signal') diff --git a/test/signal/Makefile b/test/signal/Makefile index 649a7dffd..7a7bc1dbb 100644 --- a/test/signal/Makefile +++ b/test/signal/Makefile @@ -13,11 +13,6 @@ EXTRA_LIBS=$(TOPDIR)libc.a -lgcc YCFLAGS = -Wall -Os -fomit-frame-pointer YLDFLAGS = -s --static -# Allow alternative stripping tools to be used... -ifndef $(STRIPTOOL) - STRIPTOOL = strip -endif -STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $@ TARGETS=signal signal_glibc @@ -30,6 +25,7 @@ signal: signal.c Makefile $(TOPDIR)libc.a -@ echo " " $(CC) $(XCFLAGS) -c $< -o $@.o $(CC) $(XLDFLAGS) $@.o -o $@ $(EXTRA_LIBS) + $(STRIPTOOL) -x -R .note -R .comment $@ -./$@ -@ echo " " @@ -40,6 +36,7 @@ signal_glibc: signal.c Makefile $(TOPDIR)libc.a -@ echo " " $(CC) $(YCFLAGS) -c $< -o $@.o $(CC) $(YLDFLAGS) --static $@.o -o $@ + $(STRIPTOOL) -x -R .note -R .comment $@ -./$@ -@ echo " " -- cgit v1.2.3