From e1dc59bd16453b29bf910d44cbf99013bb43cbf2 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 3 Aug 2010 11:20:31 +0000 Subject: [PATCH] test Makefile: use any gcc in path --- test/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Makefile b/test/Makefile index 83c9b2b40..c76c30dfe 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,6 +1,6 @@ # Makefile for the tests. -GCC= /usr/gnu/bin/gcc +GCC=gcc CFLAGS= -O0 -D_MINIX -D_POSIX_SOURCE CFLAGS-GCC= $(CFLAGS) -Wall CFLAGS-GCCFPU= $(CFLAGS) -Wall -mhard-float @@ -29,10 +29,10 @@ $(BIGOBJ): $(CC) $(CFLAGS) -o $@ $@.c $(GCCOBJ): - [ ! -x $(GCC) ] || $(GCC) $(CFLAGS-GCC) -o $@ ${@:S/-gcc//}.c + which $(GCC) >/dev/null && $(GCC) $(CFLAGS-GCC) -o $@ ${@:S/-gcc//}.c $(GCCFPUOBJ): - [ ! -x $(GCC) ] || $(GCC) $(CFLAGS-GCCFPU) -o $@ ${@:S/-gcc//}.c + which $(GCC) >/dev/null && $(GCC) $(CFLAGS-GCCFPU) -o $@ ${@:S/-gcc//}.c $(ROOTOBJ): $(CC) $(CFLAGS) $@.c -- 2.44.0