* libtool.m4 [linux] (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG):

Match icpc* and ecpc* (ia64 version of icpc) instead of only icpc.
This commit is contained in:
Ralf Wildenhues 2004-12-18 21:53:01 +00:00
parent 36ce7f4a14
commit 323fcff5d0
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2004-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libtool.m4 [linux] (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG):
Match icpc* and ecpc* (ia64 version of icpc) instead of only icpc.
* libltdl/lt__dirent.c [mingw] (opendir): Fix write of constant
strings past end of buffer.
(opendir, readdir): Fix read past end of buffer.

4
m4/libtool.m4 vendored
View File

@ -3083,7 +3083,7 @@ m4_if([$1], [CXX], [
_LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
;;
icpc)
icpc* | ecpc* )
# Intel C++
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
@ -5118,7 +5118,7 @@ if test "$_lt_caught_CXX_error" != yes; then
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
_LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
;;
icpc)
icpc* | ecpc* )
# Intel C++
with_gnu_ld=yes
# version 8.0 and above of icpc choke on multiply defined symbols