mirror of https://github.com/OpenTTD/OpenTTD
(svn r5456) -Fix: detect the version of the TARGET, not the HOST please
parent
f86d645d55
commit
7e5d4a88a1
2
Makefile
2
Makefile
|
@ -308,7 +308,7 @@ ifndef CC_TARGET
|
||||||
CC_TARGET = $(CC_HOST)
|
CC_TARGET = $(CC_HOST)
|
||||||
endif
|
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
|
# GNU make can only test for (in)equality
|
||||||
# this is a workaround to test for >=
|
# this is a workaround to test for >=
|
||||||
|
|
Loading…
Reference in New Issue