libtool-patches
[Top][All Lists]
Advanced

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

Re: icc/icpc minor update (1.5)


From: Bob Friesenhahn
Subject: Re: icc/icpc minor update (1.5)
Date: Sat, 18 Dec 2004 15:31:49 -0600 (CST)

On Sat, 18 Dec 2004, Ralf Wildenhues wrote:

OK to apply to branch-1-5 (part was missing backport of bug against
HEAD, the other part will be forward-ported)?

Looks good!

Bob


Regards,
Ralf

2004-12-18  Ralf Wildenhues <address@hidden>

        * libtool.m4 [linux] (AC_LIBTOOL_PROG_COMPILER_PIC): match
        $cc_basename, not $CC against icc.  Also, for symmetry match
        icpc* and ecpc* (ia64 version of icpc) instead of only icpc.

Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.53
diff -u -r1.314.2.53 libtool.m4
--- libtool.m4  13 Dec 2004 16:19:04 -0000      1.314.2.53
+++ libtool.m4  18 Dec 2004 21:02:03 -0000
@@ -4718,7 +4718,7 @@
            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
            ;;
-         icpc)
+         icpc* | ecpc*)
            # Intel C++
            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
@@ -4963,7 +4963,7 @@
      ;;

    linux*)
-      case $CC in
+      case $cc_basename in
      icc* | ecc*)
        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'



======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

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