Commit 73029dae authored by Georg Koppen's avatar Georg Koppen
Browse files

Bug 10761: Fix shutdown crashes on Windows

Jacek Caban gave us this patch which should fix the shutdown crashes on
Windows (#10761 and #14454) as newer GCC/Binutils versions do not need
the workaround anymore that got implemented back then in
https://bugzilla.mozilla.org/show_bug.cgi?id=337887.
parent ef9ba2e2
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -103,10 +103,7 @@ endif
DLL_SUFFIX   = dll

ifdef NS_USE_GCC
    # The -mnop-fun-dllimport flag allows us to avoid a drawback of
    # the dllimport attribute that a pointer to a function marked as
    # dllimport cannot be used as as a constant address.
    OS_CFLAGS += -mwindows -mms-bitfields -mnop-fun-dllimport
    OS_CFLAGS += -mwindows -mms-bitfields
    _GEN_IMPORT_LIB=-Wl,--out-implib,$(IMPORT_LIBRARY)
    DLLFLAGS  += -mwindows -o $@ -shared -Wl,--export-all-symbols $(if $(IMPORT_LIBRARY),$(_GEN_IMPORT_LIB))
    ifdef BUILD_OPT