Ticket #10761: patch.diff

File patch.diff, 738 bytes (added by gk, 4 years ago)
  • security/nss/coreconf/WIN32.mk

    diff --git a/security/nss/coreconf/WIN32.mk b/security/nss/coreconf/WIN32.mk
    index da8c9bf..092bfd3 100644
    a b endif 
    103103DLL_SUFFIX   = dll
    104104
    105105ifdef NS_USE_GCC
    106     # The -mnop-fun-dllimport flag allows us to avoid a drawback of
    107     # the dllimport attribute that a pointer to a function marked as
    108     # dllimport cannot be used as as a constant address.
    109     OS_CFLAGS += -mwindows -mms-bitfields -mnop-fun-dllimport
     106    OS_CFLAGS += -mwindows -mms-bitfields
    110107    _GEN_IMPORT_LIB=-Wl,--out-implib,$(IMPORT_LIBRARY)
    111108    DLLFLAGS  += -mwindows -o $@ -shared -Wl,--export-all-symbols $(if $(IMPORT_LIBRARY),$(_GEN_IMPORT_LIB))
    112109    ifdef BUILD_OPT