fix nss build when targeting windows XP (using 7.1A SDK)
otherwise build fails because of macro redefinitions warnings (that are now fatal because of warnings=errors) Change-Id: I0a15083d9ffd032c48ab491695319309f3053fb7
This commit is contained in:
2
external/nss/UnpackedTarball_nss.mk
vendored
2
external/nss/UnpackedTarball_nss.mk
vendored
@@ -32,6 +32,8 @@ $(eval $(call gb_UnpackedTarball_add_patches,nss,\
|
|||||||
external/nss/nss.cygwin64.in32bit.patch) \
|
external/nss/nss.cygwin64.in32bit.patch) \
|
||||||
$(if $(filter WNTMSC,$(OS)$(COM)), \
|
$(if $(filter WNTMSC,$(OS)$(COM)), \
|
||||||
external/nss/nss.vs2015.pdb.patch) \
|
external/nss/nss.vs2015.pdb.patch) \
|
||||||
|
$(if $(findstring 120_70,$(VCVER)_$(WINDOWS_SDK_VERSION)), \
|
||||||
|
external/nss/nss-winXP-sdk.patch.1) \
|
||||||
))
|
))
|
||||||
|
|
||||||
# nss-pem is only needed for internal curl to read the NSS CA database
|
# nss-pem is only needed for internal curl to read the NSS CA database
|
||||||
|
9
external/nss/nss-winXP-sdk.patch.1
vendored
Normal file
9
external/nss/nss-winXP-sdk.patch.1
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
diff -ur nss.org/nss/coreconf/config.mk nss/nss/coreconf/config.mk
|
||||||
|
--- nss.org/nss/coreconf/config.mk 2016-03-15 14:52:19.706093300 +0100
|
||||||
|
+++ nss/nss/coreconf/config.mk 2016-03-15 14:56:51.549914800 +0100
|
||||||
|
@@ -188,3 +188,5 @@
|
||||||
|
|
||||||
|
# Hide old, deprecated, TLS cipher suite names when building NSS
|
||||||
|
DEFINES += -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
|
||||||
|
+# build with 7.1A SDK for winXP compatibility
|
||||||
|
+DEFINES += -D_USING_V110_SDK71_
|
Reference in New Issue
Block a user