From 0e87e05816d3e4b66ea7904634095aad5f6f325f Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 31 Jan 2016 18:33:42 +0100 Subject: [PATCH] Remove the extra checks for Intel's C compiler 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 --- Configure | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/Configure b/Configure index 4dca9a9e1d..8beaabd950 100755 --- a/Configure +++ b/Configure @@ -980,38 +980,6 @@ if ($target{build_scheme}->[0] ne "mk1mf") # # Platform fix-ups # -if ($target =~ /-icc$/) # Intel C compiler - { - my $iccver=0; - if (open(FD,"$target{cc} -V 2>&1 |")) - { - while() { $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 -- 2.34.1