changeset 4113:d699a4ed16b2 draft

(svn r5456) -Fix: detect the version of the TARGET, not the HOST please
author truelight <truelight@openttd.org>
date Tue, 04 Jul 2006 13:51:17 +0000
parents f6d3403b3b58
children 108c194206ba
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile
+++ b/Makefile
@@ -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 >=