# HG changeset patch # User truelight # Date 1152021077 0 # Node ID ddc88b9e6fd9e2e5b6e457095f2abb452e7d4d5f # Parent da2264be9255324d7837addd4721d6a3edd61d66 (svn r5456) -Fix: detect the version of the TARGET, not the HOST please diff -r da2264be9255 -r ddc88b9e6fd9 Makefile --- a/Makefile Tue Jul 04 07:55:42 2006 +0000 +++ b/Makefile Tue Jul 04 13:51:17 2006 +0000 @@ -308,7 +308,7 @@ 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 >=