mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-17 15:10:02 +08:00
Fix PIC flags with mpif77 using ifort on GNU/Linux.
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]: Match Intel compiler also using $CC -V output, to avoid false negatives with compiler drivers like mpif77. Report by Christian Rössel. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
92eb89aace
commit
39ba8c55de
@ -1,3 +1,11 @@
|
|||||||
|
2010-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
|
Fix PIC flags with mpif77 using ifort on GNU/Linux.
|
||||||
|
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]:
|
||||||
|
Match Intel compiler also using $CC -V output, to avoid false
|
||||||
|
negatives with compiler drivers like mpif77.
|
||||||
|
Report by Christian Rössel.
|
||||||
|
|
||||||
2010-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
2010-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
Fix PIC flags with MPI wrappers using Portland on GNU/Linux.
|
Fix PIC flags with MPI wrappers using Portland on GNU/Linux.
|
||||||
|
5
libltdl/m4/libtool.m4
vendored
5
libltdl/m4/libtool.m4
vendored
@ -4340,6 +4340,11 @@ m4_if([$1], [CXX], [
|
|||||||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
||||||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||||
;;
|
;;
|
||||||
|
*Intel*\ [[CF]]*Compiler*)
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
|
||||||
|
;;
|
||||||
*Portland\ Group*)
|
*Portland\ Group*)
|
||||||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
|
||||||
|
Loading…
Reference in New Issue
Block a user