Commit a01fedd9 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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

parent 87f2d807
...@@ -4957,6 +4957,8 @@ if enabled icc; then ...@@ -4957,6 +4957,8 @@ if enabled icc; then
check_ldflags -wd10156,11030 check_ldflags -wd10156,11030
# icc 11.0 and 11.1 work with ebp_available, but don't pass the test # icc 11.0 and 11.1 work with ebp_available, but don't pass the test
enable ebp_available enable ebp_available
# The test above does not test linking
enabled lto && disable symver_asm_label
if enabled x86_32; then if enabled x86_32; then
icc_version=$($cc -dumpversion) icc_version=$($cc -dumpversion)
test ${icc_version%%.*} -ge 11 && test ${icc_version%%.*} -ge 11 &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment