summaryrefslogtreecommitdiff
path: root/test/ctype
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-11-16 20:35:25 +0000
committerEric Andersen <andersen@codepoet.org>2000-11-16 20:35:25 +0000
commit350c0215ef0e7cd915c2a2931b548e75d540a686 (patch)
tree97825f27b89cbfb0029c686d305184b8416af6da /test/ctype
parentaa85deb86c823f2ee9e966c6676a092d774cd493 (diff)
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
Diffstat (limited to 'test/ctype')
-rw-r--r--test/ctype/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/ctype/Makefile b/test/ctype/Makefile
index f8992f4fe..3ed4cb411 100644
--- a/test/ctype/Makefile
+++ b/test/ctype/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=ctype ctype_glibc
@@ -30,6 +25,7 @@ ctype: ctype.c ../testsuite.h 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 @@ ctype_glibc: ctype.c ../testsuite.h Makefile $(TOPDIR)libc.a
-@ echo " "
$(CC) $(YCFLAGS) -c $< -o $@.o
$(CC) $(YLDFLAGS) --static $@.o -o $@
+ $(STRIPTOOL) -x -R .note -R .comment $@
-./$@
-@ echo " "