diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Rules.mak | 8 | ||||
-rw-r--r-- | test/stdlib/Makefile | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/test/Rules.mak b/test/Rules.mak index a12ba3be6..1ac796fc9 100644 --- a/test/Rules.mak +++ b/test/Rules.mak @@ -10,8 +10,8 @@ include $(TESTDIR)../Config include $(TESTDIR)Config -NATIVE_ARCH = $(shell uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/' \ - -e 's/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/ppc/powerpc/') +NATIVE_ARCH = ${shell uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/' \ + -e 's/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/ppc/powerpc/'} # If you are running a cross compiler, you may want to set this # to something more interesting... @@ -28,8 +28,8 @@ LSFLAGS = -l WARNINGS=-Wall # use '-Os' optimization if available, else use -O2 -OPTIMIZATION = $(shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \ - then echo "-Os"; else echo "-O2" ; fi) +OPTIMIZATION = ${shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \ + then echo "-Os"; else echo "-O2" ; fi} ifeq ($(DODEBUG),true) CFLAGS +=$(WARNINGS) $(OPTIMIZATION) -g diff --git a/test/stdlib/Makefile b/test/stdlib/Makefile index 061933e03..aad82827d 100644 --- a/test/stdlib/Makefile +++ b/test/stdlib/Makefile @@ -85,7 +85,7 @@ teststrtol: teststrtol.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC) $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) $(STRIPTOOL) -x -R .note -R .comment $@ -$(LDD) $@ - ls -sh $@ + ls -l $@ -./$@ > $@.out -@ echo " " @@ -98,7 +98,7 @@ teststrtol_glibc: teststrtol.c Makefile $(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@ $(STRIPTOOL) -x -R .note -R .comment $@ -$(LDD) $@ - ls -sh $@ + ls -l $@ -./$@ > $@.out -@ echo " " @@ -132,7 +132,7 @@ qsort_glibc: qsort.c Makefile $(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@ $(STRIPTOOL) -x -R .note -R .comment $@ -$(LDD) $@ - ls -sh $@ + ls -l $@ -./$@ > $@.out -@ echo " " |