cjdns: support libc other than uClibc
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
c5f795cc38
commit
f5eb74fa4d
1 changed files with 7 additions and 2 deletions
|
@ -36,8 +36,14 @@ endef
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
PKG_DO_VARS:=
|
||||||
|
|
||||||
ifneq ($(CONFIG_KERNEL_SECCOMP_FILTER),y)
|
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
|
endif
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
@ -47,7 +53,6 @@ define Build/Compile
|
||||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
SYSTEM="linux" \
|
SYSTEM="linux" \
|
||||||
TARGET_ARCH="$(CONFIG_ARCH)" \
|
TARGET_ARCH="$(CONFIG_ARCH)" \
|
||||||
UCLIBC=1 \
|
|
||||||
SSP_SUPPORT="$(CONFIG_SSP_SUPPORT)" \
|
SSP_SUPPORT="$(CONFIG_SSP_SUPPORT)" \
|
||||||
$(PKG_DO_VARS) \
|
$(PKG_DO_VARS) \
|
||||||
$(PKG_BUILD_DIR)/do
|
$(PKG_BUILD_DIR)/do
|
||||||
|
|
Loading…
Reference in a new issue