]> Zhao Yanbai Git Server - minix.git/commitdiff
Get gcc tests building again
authorArun Thomas <arun@minix3.org>
Wed, 17 Feb 2010 08:45:56 +0000 (08:45 +0000)
committerArun Thomas <arun@minix3.org>
Wed, 17 Feb 2010 08:45:56 +0000 (08:45 +0000)
test/Makefile

index a6973ba52b39e45e864fb87d615316f9cc49b1ab..ff10a34af3ffaeb7541e7d5524227af497d9b8eb 100644 (file)
@@ -26,7 +26,7 @@ $(BIGOBJ):
        $(CC) $(CFLAGS) -o $@ $@.c
 
 $(GCCOBJ):
-       [ ! -x $(GCC) ] || $(GCC) $(CFLAGS-GCC) -o $@ $<
+       [ ! -x $(GCC) ] || $(GCC) $(CFLAGS-GCC) -o $@ ${@:S/-gcc//}.c
 
 $(ROOTOBJ):
        $(CC) $(CFLAGS) $@.c