From f5eb74fa4d1d16336087bd9578420a17848f442b Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 21 Apr 2015 13:18:00 +0200 Subject: [PATCH] cjdns: support libc other than uClibc Signed-off-by: Daniel Golle --- cjdns/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cjdns/Makefile b/cjdns/Makefile index 3253532..9744d7b 100644 --- a/cjdns/Makefile +++ b/cjdns/Makefile @@ -36,8 +36,14 @@ endef define Build/Configure endef +PKG_DO_VARS:= + ifneq ($(CONFIG_KERNEL_SECCOMP_FILTER),y) -PKG_DO_VARS:=Seccomp_NO=1 +PKG_DO_VARS+= Seccomp_NO=1 +endif + +ifneq ($(CONFIG_USE_UCLIBC),) +PKG_DO_VARS+= UCLIBC=1 endif define Build/Compile @@ -47,7 +53,6 @@ define Build/Compile LDFLAGS="$(TARGET_LDFLAGS)" \ SYSTEM="linux" \ TARGET_ARCH="$(CONFIG_ARCH)" \ - UCLIBC=1 \ SSP_SUPPORT="$(CONFIG_SSP_SUPPORT)" \ $(PKG_DO_VARS) \ $(PKG_BUILD_DIR)/do -- 2.30.2