1 --- a/a/nspr/config/autoconf.mk.in
2 +++ a/a/nspr/config/autoconf.mk.in
12 --- a/a/nspr/configure
13 +++ a/a/nspr/configure
15 OBJDIR='$(OBJDIR_NAME)'
18 -NSINSTALL='$(MOD_DEPTH)/config/$(OBJDIR_NAME)/nsinstall'
19 +NSINSTALL=${NSINSTALL?'$(MOD_DEPTH)/config/$(OBJDIR_NAME)/nsinstall'}
20 NOSUCHFILE=/no-such-file
21 LIBNSPR='-L$(dist_libdir) -lnspr$(MOD_MAJOR_VERSION)'
22 LIBPLC='-L$(dist_libdir) -lplc$(MOD_MAJOR_VERSION)'
27 -MKSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
28 +MKSHLIB='touch $@; echo'
34 DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name @__________________________________________________OOO/$@ -headerpad_max_install_names'
36 - MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
41 --- a/a/nss/coreconf/ruleset.mk
42 +++ a/a/nss/coreconf/ruleset.mk
48 + MKPROG = touch $@; echo
52 --- a/a/nss/coreconf/Darwin.mk
53 +++ a/a/nss/coreconf/Darwin.mk
55 # May override this with -bundle to create a loadable module.
56 DSO_LDOPTS = -dynamiclib $(DARWIN_DYLIB_VERSIONS) -install_name @__________________________________________________OOO/$(notdir $@) -headerpad_max_install_names
58 -MKSHLIB = $(CC) $(DSO_LDOPTS) $(DARWIN_SDK_SHLIBFLAGS)
59 +MKSHLIB = touch $@; echo
62 MKSHLIB += -exported_symbols_list $(MAPFILE)
63 --- a/a/nss/coreconf/UNIX.mk
64 +++ a/a/nss/coreconf/UNIX.mk
68 NSINSTALL_DIR = $(BUILD_TREE)/nss
70 NSINSTALL = $(BUILD_TREE)/nss/nsinstall
73 NSINSTALL_DIR = $(CORE_DEPTH)/coreconf/nsinstall
75 NSINSTALL = $(NSINSTALL_DIR)/$(OBJDIR_NAME)/nsinstall
79 MKDEPEND_DIR = $(CORE_DEPTH)/coreconf/mkdepend
80 --- a/a/nspr/pr/include/md/_darwin.h
81 +++ a/a/nspr/pr/include/md/_darwin.h
83 #define _PR_SI_ARCHITECTURE "ppc"
84 #elif defined(__arm__)
85 #define _PR_SI_ARCHITECTURE "arm"
86 +#elif defined(__arm64__)
87 +#define _PR_SI_ARCHITECTURE "arm64"
88 #elif defined(__aarch64__)
89 #define _PR_SI_ARCHITECTURE "aarch64"
91 --- a/a/nspr/pr/src/Makefile.in
92 +++ a/a/nspr/pr/src/Makefile.in
96 ifeq ($(OS_TARGET),MacOSX)
97 -OS_LIBS = -framework CoreServices -framework CoreFoundation
98 +OS_LIBS = -framework CoreFoundation
101 EXTRA_LIBS += $(OS_LIBS)
102 --- a/a/nss/cmd/shlibsign/sign.sh
103 +++ a/a/nss/cmd/shlibsign/sign.sh
105 # This Source Code Form is subject to the terms of the Mozilla Public
106 # License, v. 2.0. If a copy of the MPL was not distributed with this
107 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
112 # 1: full path to DIST/OBJDIR (parent dir of "lib")