mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-12 14:06:37 +08:00
Fix ifort settings again.
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>: Unlike icc and ecc, not all ifort versions understand `-KPIC', e.g. version 10.1, so use `-fPIC' instead. Report by Jeff Squyres. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
d53ca5f67d
commit
ad01db1911
@ -1,3 +1,11 @@
|
||||
2008-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Fix ifort settings again.
|
||||
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>:
|
||||
Unlike icc and ecc, not all ifort versions understand `-KPIC',
|
||||
e.g. version 10.1, so use `-fPIC' instead.
|
||||
Report by Jeff Squyres.
|
||||
|
||||
2008-05-20 Eric Blake <ebb9@byu.net>
|
||||
|
||||
Resynchronize argz whitespace changes from gnulib.
|
||||
|
7
libltdl/m4/libtool.m4
vendored
7
libltdl/m4/libtool.m4
vendored
@ -3964,11 +3964,16 @@ m4_if([$1], [CXX], [
|
||||
|
||||
linux* | k*bsd*-gnu)
|
||||
case $cc_basename in
|
||||
icc* | ecc* | ifort*)
|
||||
icc* | ecc*)
|
||||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
||||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
|
||||
;;
|
||||
ifort*)
|
||||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
||||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
|
||||
;;
|
||||
pgcc* | pgf77* | pgf90* | pgf95*)
|
||||
# Portland Group compilers (*not* the Pentium gcc compiler,
|
||||
# which looks to be a dead project)
|
||||
|
Loading…
Reference in New Issue
Block a user