0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-23 14:46:15 +00:00
packages/libs/nss/patches/002-os_test.patch
Rosen Penev beac69b7a5 nss: update to 3.60
Added patch to fix compilation with musl 1.2.x.

Install nss-config file and fix it up. Might help some packages...

Refreshed others.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-15 20:06:13 -08:00

19 lines
414 B
Diff

--- a/nss/coreconf/arch.mk
+++ b/nss/coreconf/arch.mk
@@ -20,13 +20,13 @@
# Macros for getting the OS architecture
#
-OS_ARCH := $(subst /,_,$(shell uname -s))
+OS_ARCH ?= $(subst /,_,$(shell uname -s))
#
# Attempt to differentiate between sparc and x86 Solaris
#
-OS_TEST := $(shell uname -m)
+OS_TEST ?= $(shell uname -m)
ifeq ($(OS_TEST),i86pc)
OS_RELEASE := $(shell uname -r)_$(OS_TEST)
else