summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-15 12:30:45 +0200
committerMichael Stahl <mstahl@redhat.com>2014-08-15 12:33:43 +0200
commit36ce22f41a754fa405804434899a08a23081e721 (patch)
treed5e55f315ca54878b0f434f657b3398e06bf8d70
parent8dd8e93d426a402962604c9905e1d5ad7541f325 (diff)
fdo#82430: MSVC 2010 refuses both -clr and -arch in the same command
Change-Id: I41339e05ec914a2d660d87c99c99b824dddd10c9
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 89d80e7e9233..20e2405f65fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3773,7 +3773,7 @@ if test "$_os" = "WINNT"; then
COMPATH=`echo $VC_PRODUCT_DIR`
fi
fi
- if test "$BITNESS_OVERRIDE" = ""; then
+ if test "$BITNESS_OVERRIDE" = "" -a "$vcnum" != "100"; then
CC="$CC -arch:SSE" # MSVC 2012 default for x86 is -arch:SSE2
fi
export INCLUDE=`cygpath -d "$COMPATH/Include"`