Remove the extra checks for Intel's C compiler
authorRichard Levitte <levitte@openssl.org>
Sun, 31 Jan 2016 17:33:42 +0000 (18:33 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 31 Jan 2016 18:51:33 +0000 (19:51 +0100)
When the target is {something}-icc, we're doing some extra checks of
the icc compiler.  However, all such targets were cleaned away in
March 2015, so this Configure section is dead code.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Configure

index 4dca9a9e1dbe9de267195af451f73c2ddee3a597..8beaabd9506b2a9be0f0b520800ca41e7802c7c5 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -980,38 +980,6 @@ if ($target{build_scheme}->[0] ne "mk1mf")
 #
 # Platform fix-ups
 #
 #
 # Platform fix-ups
 #
-if ($target =~ /-icc$/)        # Intel C compiler
-       {
-       my $iccver=0;
-       if (open(FD,"$target{cc} -V 2>&1 |"))
-               {
-               while(<FD>) { $iccver=$1 if (/Version ([0-9]+)\./); }
-               close(FD);
-               }
-       if ($iccver>=8)
-               {
-               $config{cflags}=~s/-KPIC/-fPIC/;
-               # Eliminate unnecessary dependency from libirc.a. This is
-               # essential for shared library support, as otherwise
-               # apps/openssl can end up in endless loop upon startup...
-               $config{cflags}.=" -Dmemcpy=__builtin_memcpy -Dmemset=__builtin_memset";
-               }
-       if ($iccver>=9)
-               {
-               $config{ex_libs}.=" -i-static";
-               $config{ex_libs}=~s/-no_cpprt/-no-cpprt/;
-               }
-       if ($iccver>=10)
-               {
-               $config{ex_libs}=~s/-i-static/-static-intel/;
-               }
-       if ($iccver>=11)
-               {
-               $config{cflags}.=" -no-intel-extensions";       # disable Cilk
-               $config{ex_libs}=~s/-no-cpprt/-no-cxxlib/;
-               }
-       }
-
 # Unlike other OSes (like Solaris, Linux, Tru64, IRIX) BSD run-time
 # linkers (tested OpenBSD, NetBSD and FreeBSD) "demand" RPATH set on
 # .so objects. Apparently application RPATH is not global and does
 # Unlike other OSes (like Solaris, Linux, Tru64, IRIX) BSD run-time
 # linkers (tested OpenBSD, NetBSD and FreeBSD) "demand" RPATH set on
 # .so objects. Apparently application RPATH is not global and does