Unified · Split
| @@ -3945,14 +3945,14 @@ elif enabled tms470; then · 3944 unmodified lines | ||
| 3945 | 3945 | add_cflags -pds=824 -pds=837 |
| 3946 | 3946 | elif enabled pathscale; then |
| 3947 | 3947 | add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF |
| 3948 | −elif enabled msvc; then | |
| 3948 | +elif enabled_any msvc icl; then | |
| 3949 | 3949 | enabled x86_32 && disable aligned_stack |
| 3950 | −elif enabled icl; then | |
| 3951 | − enabled x86_32 && disable aligned_stack | |
| 3952 | − # basically -fstrict-aliasing for icl that doesn't work (correctly) on 13.x+ | |
| 3953 | − check_cpp_condition "windows.h" "__ICL < 1300" && add_cflags -Qansi-alias | |
| 3954 | − # icl will pass the inline asm tests but inline asm is currently not supported (build will fail) | |
| 3955 | − disable inline_asm | |
| 3950 | + if enabled icl; then | |
| 3951 | + # basically -fstrict-aliasing for icl that doesn't work (correctly) on 13.x+ | |
| 3952 | + check_cpp_condition "windows.h" "__ICL < 1300" && add_cflags -Qansi-alias | |
| 3953 | + # icl will pass the inline asm tests but inline asm is currently not supported (build will fail) | |
| 3954 | + disable inline_asm | |
| 3955 | + fi | |
| 3956 | 3956 | fi |
| 3957 | 3957 | |
| 3958 | 3958 | case $target_os in |