From 7e5d4a88a196badf90c671a0911686946cbf5a20 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 4 Jul 2006 13:51:17 +0000 Subject: (svn r5456) -Fix: detect the version of the TARGET, not the HOST please --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 986cfb2a4..40603f06f 100644 --- a/Makefile +++ b/Makefile @@ -308,7 +308,7 @@ ifndef CC_TARGET CC_TARGET = $(CC_HOST) endif -CC_VERSION = $(shell $(CC) -dumpversion | cut -c 1,3) +CC_VERSION = $(shell $(CC_TARGET) -dumpversion | cut -c 1,3) # GNU make can only test for (in)equality # this is a workaround to test for >= -- cgit v1.2.3-70-g09d2