(svn r5456) -Fix: detect the version of the TARGET, not the HOST please

This commit is contained in:
truelight 2006-07-04 13:51:17 +00:00
parent c9fbb76f1d
commit c69253b04e

View File

@ -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 >=