mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 23:10:04 +00:00
(svn r17599) -Fix: configure script didn't detect icc when CC included path to compiler
This commit is contained in:
parent
662ef3173b
commit
905092b443
@ -1048,7 +1048,7 @@ make_compiler_cflags() {
|
||||
cxxflags="$4"
|
||||
ldflags="$6"
|
||||
|
||||
if [ `echo $1 | cut -c 1-3` = "icc" ]; then
|
||||
if [ `basename $1 | cut -c 1-3` = "icc" ]; then
|
||||
# Enable some things only for certain ICC versions
|
||||
cc_version=`$1 -dumpversion | cut -c 1-4 | sed s@\\\.@@g`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user