summaryrefslogtreecommitdiffstats
path: root/external/nss/nss.cygwin64.in32bit.patch
blob: bce0f1d0940343bbddca62abcde0b492f462a5f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This fixes architecture mismatch, when building
on Cygwin 64bit and in 32bit mode
diff -ru nss.orig/nss/Makefile nss/nss/Makefile
--- a/nss.orig/nss/Makefile       2016-02-26 01:00:52.146713100 +0100
+++ b/nss/nss/Makefile    2016-02-26 01:02:05.303560100 +0100
@@ -63,6 +63,8 @@
 # Translate coreconf build options to NSPR configure options.
 #

+NSPR_CONFIGURE_OPTS += --host=i686-pc-cygwin
+
 ifeq ($(OS_TARGET),Android)
 NSPR_CONFIGURE_OPTS += --with-android-ndk=$(ANDROID_NDK) \
                        --target=$(ANDROID_PREFIX) \