From a01fedd9b87f05de45b7e49a62bec4bcbd0116d9 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <cehoyos@ag.or.at>
Date: Mon, 12 May 2014 14:51:21 +0200
Subject: [PATCH] Fix compilation with --enable-lto --enable-shared with icc.

---
 configure | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index 415b4ad583a..b2a764e7b60 100755
--- a/configure
+++ b/configure
@@ -4957,6 +4957,8 @@ if enabled icc; then
     check_ldflags -wd10156,11030
     # icc 11.0 and 11.1 work with ebp_available, but don't pass the test
     enable ebp_available
+    # The test above does not test linking
+    enabled lto && disable symver_asm_label
     if enabled x86_32; then
         icc_version=$($cc -dumpversion)
         test ${icc_version%%.*} -ge 11 &&
-- 
GitLab