libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fix `-Wl,' for Intel Fortran compiler ifort


From: Ralf Wildenhues
Subject: Fix `-Wl,' for Intel Fortran compiler ifort
Date: Sat, 9 Feb 2008 08:15:55 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Testing revealed that this patch is needed for successful testsuite
results with Intel ifort.  Applied to HEAD and branch-1-5.
(I assume this could break compiler support for version 8 and older; it
is required for version 9.  If somebody has installations to test it
with, please do so, thanks!)

Cheers,
Ralf

2008-02-09  Ralf Wildenhues  <address@hidden>

        * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>:
        Treat like icc and ecc, for fixed `-Wl,' and `-KPIC' settings.

Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.133
diff -u -r1.133 libtool.m4
--- libltdl/m4/libtool.m4       29 Jan 2008 22:07:18 -0000      1.133
+++ libltdl/m4/libtool.m4       9 Feb 2008 07:04:16 -0000
@@ -3935,7 +3935,7 @@
 
     linux* | k*bsd*-gnu)
       case $cc_basename in
-      icc* | ecc*)
+      icc* | ecc* | ifort*)
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'


2008-02-09  Ralf Wildenhues  <address@hidden>

        * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): [linux] <ifort>:
        Treat like icc and ecc, for fixed `-Wl,' and `-KPIC' settings.

Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.196
diff -u -r1.314.2.196 libtool.m4
--- libtool.m4  3 Feb 2008 16:58:19 -0000       1.314.2.196
+++ libtool.m4  9 Feb 2008 07:07:23 -0000
@@ -5418,7 +5418,7 @@
 
     linux* | k*bsd*-gnu)
       case $cc_basename in
-      icc* | ecc*)
+      icc* | ecc* | ifort*)
        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'




reply via email to

[Prev in Thread] Current Thread [Next in Thread]