summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-24 14:35:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-24 14:35:52 +0200
commitab0b1fdd176c76d0d95adc7ceb85a1d8e585d667 (patch)
treef7b481e31115e9df19f596d50ef2c7ca4600da08 /configure
parent17513f4fb3c012bc3147ae33cb2d2c9fc9a6e564 (diff)
parentd6d27f3e58e6980bce4a490e7d8cc0f6a84521fe (diff)
Merge commit 'd6d27f3e58e6980bce4a490e7d8cc0f6a84521fe'
* commit 'd6d27f3e58e6980bce4a490e7d8cc0f6a84521fe': configure: Enable -Qansi-alias for icl 14+ Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index f25f7dc7e5..e29493aecd 100755
--- a/configure
+++ b/configure
@@ -4543,8 +4543,10 @@ elif enabled_any msvc icl; then
enabled debug && add_ldflags -debug
enable pragma_deprecated
if enabled icl; then
- # basically -fstrict-aliasing that does not work (correctly) on icl 13.x
- check_cpp_condition "windows.h" "__ICL < 1300" && add_cflags -Qansi-alias
+ # -Qansi-alias is basically -fstrict-aliasing, but does not work
+ # (correctly) on icl 13.x.
+ check_cpp_condition "windows.h" "__ICL < 1300 || __ICL >= 1400" &&
+ add_cflags -Qansi-alias
# icl will pass the inline asm tests but inline asm is currently
# not supported (build will fail)
disable inline_asm