Commit 07e3f9af authored by Mans Rullgard's avatar Mans Rullgard
Browse files

configure: set icc_version where it is needed

This variable is only used once, so setting it there is clearer.
Signed-off-by: default avatarMans Rullgard <>
parent 1cf6e7dd
......@@ -1974,7 +1974,6 @@ elif $cc -v 2>&1 | grep -qi ^gcc; then
elif $cc --version 2>/dev/null | grep -q Intel; then
cc_ident=$($cc --version | head -n1)
icc_version=$($cc -dumpversion)
......@@ -3146,6 +3145,7 @@ if enabled icc; then
# icc 11.0 and 11.1 work with ebp_available, but don't pass the test
enable ebp_available
if enabled x86_32; then
icc_version=$($cc -dumpversion)
test ${icc_version%%.*} -ge 11 &&
check_cflags -falign-stack=maintain-16-byte ||
disable aligned_stack
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