Browse Source

configure: More msvc/icl combining

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
tags/n2.0
Alex Smith Derek Buitenhuis 12 years ago
parent
commit
f11e4045b9
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      configure

+ 7
- 7
configure View File

@@ -3945,14 +3945,14 @@ elif enabled tms470; then
add_cflags -pds=824 -pds=837 add_cflags -pds=824 -pds=837
elif enabled pathscale; then elif enabled pathscale; then
add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF 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 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 fi


case $target_os in case $target_os in


Loading…
Cancel
Save