git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
6263f9e
)
nss: Fix compilation with uClibc-ng
author
Rosen Penev
<redacted>
Fri, 20 Dec 2019 21:10:43 +0000
(13:10 -0800)
committer
Rosen Penev
<redacted>
Fri, 20 Dec 2019 21:14:20 +0000
(13:14 -0800)
_GNU_SOURCE is needed for fdopen, sigaction, and probably more.
Signed-off-by: Rosen Penev <redacted>
libs/nss/Makefile
patch
|
blob
|
history
diff --git
a/libs/nss/Makefile
b/libs/nss/Makefile
index 16d77ba57d9fbca6d4d793ae734ffaef4cad27f1..cf3aff534ff986f7669dfacd93f4f42248903100 100644
(file)
--- a/
libs/nss/Makefile
+++ b/
libs/nss/Makefile
@@
-8,7
+8,7
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=nss
PKG_VERSION:=3.48
-PKG_RELEASE:=
1
+PKG_RELEASE:=
2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:= \
@@
-62,6
+62,7
@@
ifeq ($(CONFIG_CPU_TYPE),"xscale")
TARGET_CFLAGS+= -mfloat-abi=softfp
endif
+TARGET_CFLAGS += -D_GNU_SOURCE
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
export CROSS_COMPILE=1
git clone https://git.99rst.org/PROJECT