# HG changeset patch # User Tom Ritter # Date 1537278245 0 # Node ID a52a76a43b14dda45aae8978166f9451f0c2ab32 # Parent 860bfc1e92905ac4f7c6f03005119e92c8022f79 Bug 1490566 Do not pass --enable-stdcall-fixup to clang in a x86 Windows build r=froydnj clang doesn't recognize --enable-stdcall-fixup as an option. We needed this for the mingw-gcc build (added in Bug 787653) because gcc had difficulty dealing with Angle's symbol linking Differential Revision: https://phabricator.services.mozilla.com/D6072 diff --git a/old-configure.in b/old-configure.in --- a/old-configure.in +++ b/old-configure.in @@ -866,17 +866,20 @@ case "$target" in CXXFLAGS="$CXXFLAGS -fno-keep-inline-dllexport" fi case "$target" in i*86-*) if test -n "$GNU_CC"; then CFLAGS="$CFLAGS -mstackrealign" CXXFLAGS="$CXXFLAGS -mstackrealign" - LDFLAGS="$LDFLAGS -Wl,--enable-stdcall-fixup -Wl,--large-address-aware" + LDFLAGS="$LDFLAGS -Wl,--large-address-aware" + if test -z "$CLANG_CC"; then + LDFLAGS="$LDFLAGS -Wl,--enable-stdcall-fixup" + fi else DSO_LDOPTS="$DSO_LDOPTS -MACHINE:X86" LDFLAGS="$LDFLAGS -SAFESEH" fi AC_DEFINE(_X86_) ;; x86_64-*)