(svn r5456) -Fix: detect the version of the TARGET, not the HOST please
authortruelight
Tue, 04 Jul 2006 13:51:17 +0000
changeset 4113 ddc88b9e6fd9
parent 4112 da2264be9255
child 4114 cb67870cac64
(svn r5456) -Fix: detect the version of the TARGET, not the HOST please
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 >=