summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-23 13:45:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-23 13:45:46 +0200
commitfb0df5c113e0dff2311201dc828db1648174972b (patch)
tree92424a47e1814dbda2041e3e697d50a4f70d89d6 /configure
parent780b1aa1efa872ec7401735764795134427db1ab (diff)
parentf11e4045b9c40c57cade481fc8225ab35ccb5fe2 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: configure: More msvc/icl combining Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index c29c220422..3c2b19630f 100755
--- a/configure
+++ b/configure
@@ -4423,14 +4423,14 @@ elif enabled tms470; then
add_cflags -pds=824 -pds=837
elif enabled pathscale; then
add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF
-elif enabled msvc; then
+elif enabled_any msvc icl; then
enabled x86_32 && disable aligned_stack
-elif enabled icl; then
- enabled x86_32 && disable aligned_stack
- # basically -fstrict-aliasing for icl that doesn't work (correctly) on 13.x+
- check_cpp_condition "windows.h" "__ICL < 1300" && add_cflags -Qansi-alias
- # icl will pass the inline asm tests but inline asm is currently not supported (build will fail)
- disable inline_asm
+ if enabled icl; then
+ # basically -fstrict-aliasing for icl that doesn't work (correctly) on 13.x+
+ check_cpp_condition "windows.h" "__ICL < 1300" && add_cflags -Qansi-alias
+ # icl will pass the inline asm tests but inline asm is currently not supported (build will fail)
+ disable inline_asm
+ fi
fi
case $target_os in