2024-08-05 18:23:49 +00:00
|
|
|
diff -up ./lib/freebl/Makefile.ppc_no_init ./lib/freebl/Makefile
|
|
|
|
--- ./lib/freebl/Makefile.ppc_no_init 2024-06-03 14:12:24.216755903 -0700
|
|
|
|
+++ ./lib/freebl/Makefile 2024-06-03 14:11:36.464234903 -0700
|
|
|
|
@@ -303,7 +303,7 @@ endif
|
|
|
|
ifeq ($(CPU_ARCH),ppc)
|
|
|
|
EXTRA_SRCS += gcm-ppc.c
|
|
|
|
ifdef USE_64
|
|
|
|
- DEFINES += -DNSS_NO_INIT_SUPPORT
|
|
|
|
+# DEFINES += -DNSS_NO_INIT_SUPPORT
|
|
|
|
PPC_ABI := $(shell $(CC) -dM -E - < /dev/null | awk '$$2 == "_CALL_ELF" {print $$3}')
|
|
|
|
ifeq ($(PPC_ABI),2)
|
|
|
|
ASFILES += sha512-p8.s
|
|
|
|
diff -up ./lib/softoken/Makefile.ppc_no_init ./lib/softoken/Makefile
|
|
|
|
--- ./lib/softoken/Makefile.ppc_no_init 2024-06-03 14:12:44.664979003 -0700
|
|
|
|
+++ ./lib/softoken/Makefile 2024-06-03 14:10:26.703473806 -0700
|
|
|
|
@@ -23,13 +23,13 @@ include $(CORE_DEPTH)/coreconf/config.mk
|
|
|
|
ifdef NSS_NO_INIT_SUPPORT
|
|
|
|
DEFINES += -DNSS_NO_INIT_SUPPORT
|
|
|
|
endif
|
|
|
|
-ifeq ($(OS_TARGET),Linux)
|
|
|
|
-ifeq ($(CPU_ARCH),ppc)
|
|
|
|
-ifdef USE_64
|
|
|
|
- DEFINES += -DNSS_NO_INIT_SUPPORT
|
|
|
|
-endif # USE_64
|
|
|
|
-endif # ppc
|
|
|
|
-endif # Linux
|
|
|
|
+#ifeq ($(OS_TARGET),Linux)
|
|
|
|
+#ifeq ($(CPU_ARCH),ppc)
|
|
|
|
+#ifdef USE_64
|
|
|
|
+# DEFINES += -DNSS_NO_INIT_SUPPORT
|
|
|
|
+#endif # USE_64
|
|
|
|
+#endif # ppc
|
|
|
|
+#endif # Linux
|
|
|
|
|
|
|
|
|
|
|
|
#######################################################################
|
2024-11-13 11:18:58 +00:00
|
|
|
diff -up ./lib/softoken/legacydb/Makefile.ppc_no_init ./lib/softoken/legacydb/Makefile
|
|
|
|
--- ./lib/softoken/legacydb/Makefile.ppc_no_init 2024-11-12 11:51:16.535343581 +0100
|
|
|
|
+++ ./lib/softoken/legacydb/Makefile 2024-11-12 12:09:58.968187800 +0100
|
|
|
|
@@ -23,16 +23,17 @@ include $(CORE_DEPTH)/coreconf/config.mk
|
|
|
|
ifdef NSS_NO_INIT_SUPPORT
|
|
|
|
DEFINES += -DNSS_NO_INIT_SUPPORT
|
|
|
|
endif
|
|
|
|
-ifeq ($(OS_TARGET),Linux)
|
|
|
|
-ifeq ($(CPU_ARCH),ppc)
|
|
|
|
-ifdef USE_64
|
|
|
|
- DEFINES += -DNSS_NO_INIT_SUPPORT
|
|
|
|
-endif # USE_64
|
|
|
|
-endif # ppc
|
|
|
|
-else # !Linux
|
|
|
|
+#ifeq ($(OS_TARGET),Linux)
|
|
|
|
+#ifeq ($(CPU_ARCH),ppc)
|
|
|
|
+#ifdef USE_64
|
|
|
|
+# DEFINES += -DNSS_NO_INIT_SUPPORT
|
|
|
|
+#endif # USE_64
|
|
|
|
+#endif # ppc
|
|
|
|
+#else # !Linux
|
|
|
|
+ifneq ($(OS_TARGET),Linux)
|
|
|
|
# turn off no init support everywhere for now
|
|
|
|
DEFINES += -DNSS_NO_INIT_SUPPORT
|
|
|
|
-endif # Linux
|
|
|
|
+endif # !Linux
|
|
|
|
|
|
|
|
#######################################################################
|
|
|
|
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
|