mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r19107) -Change: GCC 3.2 seems to be having trouble with some templates too
This commit is contained in:
parent
3108101cb2
commit
ad7a139f49
|
@ -1150,8 +1150,8 @@ make_compiler_cflags() {
|
||||||
# Enable some things only for certain GCC versions
|
# Enable some things only for certain GCC versions
|
||||||
cc_version=`$1 -dumpversion | cut -c 1,3`
|
cc_version=`$1 -dumpversion | cut -c 1,3`
|
||||||
|
|
||||||
if [ $cc_version -lt 30 ]; then
|
if [ $cc_version -lt 32 ]; then
|
||||||
log 1 "configure: error: gcc older than 3.0 can't compile OpenTTD because of its poor template support"
|
log 1 "configure: error: gcc older than 3.2 can't compile OpenTTD because of its poor template support"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue