]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ensure the right CC is passed to test.sh
authorAndrew Tridgell <tridge@samba.org>
Mon, 6 Sep 2004 13:04:22 +0000 (15:04 +0200)
committerAndrew Tridgell <tridge@samba.org>
Mon, 6 Sep 2004 13:04:22 +0000 (15:04 +0200)
(patch from Nicholas Clark <nick@ccl4.org>)

Makefile.in

index b7965727a343ed5700ad38f353cf6af1cf586557..0bf3eb99d8d8eee9be71caf6d3269e0be62476b4 100644 (file)
@@ -39,10 +39,9 @@ clean:
        /bin/rm -f $(OBJS) *~ ccache$(EXEEXT)
 
 test: test.sh
-       ./test.sh
+       CC='$(CC)' ./test.sh
 
-check: test.sh
-       ./test.sh
+check: test
 
 distclean: clean
        /bin/rm -f Makefile config.h config.sub config.log build-stamp config.status