diff options
author | Jacek Caban <jacek@codeweavers.com> | 2015-08-03 17:53:17 +0200 |
---|---|---|
committer | Jacek Caban <jacek@codeweavers.com> | 2015-08-03 17:53:17 +0200 |
commit | a81c94e5d60bf5aecde7946d6319d63a1bc61099 (patch) | |
tree | d68e87faa2ef60f61da22ab82171098041e79ea5 /coreconf/WIN32.mk | |
parent | f93bf759410c4979033d9f1afde5e9216062c82c (diff) | |
download | nss-hg-a81c94e5d60bf5aecde7946d6319d63a1bc61099.tar.gz |
Don't use -mnop-fun-dllimport in mingw builds, r=kaie
Diffstat (limited to 'coreconf/WIN32.mk')
-rw-r--r-- | coreconf/WIN32.mk | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/coreconf/WIN32.mk b/coreconf/WIN32.mk index da8c9bf8b..092bfd31c 100644 --- a/coreconf/WIN32.mk +++ b/coreconf/WIN32.mk @@ -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 |