Fix compilation with --enable-lto --enable-shared with icc.

This commit is contained in:
Carl Eugen Hoyos 2014-05-12 14:51:21 +02:00
parent 87f2d8079a
commit a01fedd9b8

2
configure vendored
View File

@ -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 &&