diff --git a/configure.in b/configure.in index 2569ff83a7a2..648094aa0d4a 100644 --- a/configure.in +++ b/configure.in @@ -2211,17 +2211,15 @@ ia64*-hpux*) _DEFINES_CXXFLAGS='-FI $(DEPTH)/dist/include/mozilla-config.h -DMOZILLA_CLIENT' CFLAGS="$CFLAGS -W3 -Gy" CXXFLAGS="$CXXFLAGS -W3 -Gy" - if test "$_CC_SUITE" -ge "11" -a "$CPU_ARCH" = "x86"; then + if test "$CPU_ARCH" = "x86"; then dnl VS2012+ defaults to -arch:SSE2. CFLAGS="$CFLAGS -arch:IA32" CXXFLAGS="$CXXFLAGS -arch:IA32" fi - if test "$_CC_SUITE" -ge "12"; then - dnl VS2013+ requires -FS when parallel building by make -jN. - dnl If nothing, compiler sometimes causes C1041 error. - CFLAGS="$CFLAGS -FS" - CXXFLAGS="$CXXFLAGS -FS" - fi + dnl VS2013+ requires -FS when parallel building by make -jN. + dnl If nothing, compiler sometimes causes C1041 error. + CFLAGS="$CFLAGS -FS" + CXXFLAGS="$CXXFLAGS -FS" # khuey says we can safely ignore MSVC warning C4251 # MSVC warning C4244 (implicit type conversion may lose data) warns # and requires workarounds for perfectly valid code. Also, GCC/clang @@ -2283,10 +2281,8 @@ ia64*-hpux*) dnl both SSSE3 and SSE4.1. HAVE_TOOLCHAIN_SUPPORT_MSSSE3=1 HAVE_TOOLCHAIN_SUPPORT_MSSE4_1=1 - if test "$_CC_SUITE" -ge "11"; then - dnl allow AVX2 code from VS2012 - HAVE_X86_AVX2=1 - fi + dnl allow AVX2 code from VS2012 + HAVE_X86_AVX2=1 MOZ_MEMORY=1 fi AC_DEFINE(HAVE_SNPRINTF) diff --git a/js/src/configure.in b/js/src/configure.in index cfa5969ef755..854427fea800 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -1751,17 +1751,15 @@ ia64*-hpux*) _DEFINES_CXXFLAGS='-FI $(DEPTH)/js/src/js-confdefs.h -DMOZILLA_CLIENT' CFLAGS="$CFLAGS -W3 -Gy" CXXFLAGS="$CXXFLAGS -W3 -Gy" - if test "$_CC_SUITE" -ge "11" -a "$CPU_ARCH" = "x86"; then + if test "$CPU_ARCH" = "x86"; then dnl VS2012+ defaults to -arch:SSE2. CFLAGS="$CFLAGS -arch:IA32" CXXFLAGS="$CXXFLAGS -arch:IA32" fi - if test "$_CC_SUITE" -ge "12"; then - dnl VS2013+ requires -FS when parallel building by make -jN. - dnl If nothing, compiler sometimes causes C1041 error. - CFLAGS="$CFLAGS -FS" - CXXFLAGS="$CXXFLAGS -FS" - fi + dnl VS2013+ requires -FS when parallel building by make -jN. + dnl If nothing, compiler sometimes causes C1041 error. + CFLAGS="$CFLAGS -FS" + CXXFLAGS="$CXXFLAGS -FS" # khuey says we can safely ignore MSVC warning C4251 # MSVC warning C4244 (implicit type conversion may lose data) warns # and requires workarounds for perfectly valid code. Also, GCC/clang