diff --git a/configure.in b/configure.in index bc0f06ec08a7..451f9450c2f3 100644 --- a/configure.in +++ b/configure.in @@ -2316,13 +2316,9 @@ ia64*-hpux*) MOZ_OPTIMIZE_FLAGS='-O1 -Oi' MOZ_FIX_LINK_PATHS= MOZ_COMPONENT_NSPR_LIBS='$(NSPR_LIBS)' - # Disable these flags on clang-cl since it doesn't ignore unknown arguments by default, and - # autoconf insists on passing $LDFLAGS to the compiler. - if test -z "$CLANG_CL"; then - LDFLAGS="$LDFLAGS -LARGEADDRESSAWARE -NXCOMPAT" - if test -z "$DEVELOPER_OPTIONS"; then - LDFLAGS="$LDFLAGS -RELEASE" - fi + LDFLAGS="$LDFLAGS -LARGEADDRESSAWARE -NXCOMPAT" + if test -z "$DEVELOPER_OPTIONS"; then + LDFLAGS="$LDFLAGS -RELEASE" fi dnl For profile-guided optimization PROFILE_GEN_CFLAGS="-GL" @@ -2397,11 +2393,7 @@ ia64*-hpux*) LDFLAGS="$LDFLAGS -Wl,--enable-stdcall-fixup -Wl,--large-address-aware" else DSO_LDOPTS="$DSO_LDOPTS -MACHINE:X86" - # Disable this flag on clang-cl since it doesn't ignore unknown arguments by default, and - # autoconf insists on passing $LDFLAGS to the compiler. - if test -z "$CLANG_CL"; then - LDFLAGS="$LDFLAGS -SAFESEH" - fi + LDFLAGS="$LDFLAGS -SAFESEH" fi AC_DEFINE(_X86_) diff --git a/js/src/configure.in b/js/src/configure.in index 4df2d967a677..d19859761bf7 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -1775,13 +1775,9 @@ ia64*-hpux*) WARNINGS_AS_ERRORS='-WX' MOZ_OPTIMIZE_FLAGS="-O2" MOZ_FIX_LINK_PATHS= - # Disable these flags on clang-cl since it doesn't ignore unknown arguments by default, and - # autoconf insists on passing $LDFLAGS to the compiler. - if test -z "$CLANG_CL"; then - LDFLAGS="$LDFLAGS -LARGEADDRESSAWARE -NXCOMPAT" - if test -z "$DEVELOPER_OPTIONS"; then - LDFLAGS="$LDFLAGS -RELEASE" - fi + LDFLAGS="$LDFLAGS -LARGEADDRESSAWARE -NXCOMPAT" + if test -z "$DEVELOPER_OPTIONS"; then + LDFLAGS="$LDFLAGS -RELEASE" fi dnl For profile-guided optimization PROFILE_GEN_CFLAGS="-GL" @@ -1835,11 +1831,7 @@ ia64*-hpux*) LDFLAGS="$LDFLAGS -Wl,--large-address-aware" else DSO_LDOPTS="$DSO_LDOPTS -MACHINE:X86" - # Disable this flag on clang-cl since it doesn't ignore unknown arguments by default, and - # autoconf insists on passing $LDFLAGS to the compiler. - if test -z "$CLANG_CL"; then - LDFLAGS="$LDFLAGS -SAFESEH" - fi + LDFLAGS="$LDFLAGS -SAFESEH" fi AC_DEFINE(_X86_)