lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit be56395a63e60fce51486dae9d13509e6c3d4ffb
parent 87648e85866f74164e83133c6143aa850366eb9a
Author: Jo-Philipp Wich <jow@openwrt.org>
Date:   Sun, 28 Jun 2015 14:50:46 +0200

Merge pull request #1479 from jow-/pthsem-musl-compat

pthsem: fix musl and fortify source compatibility
Diffstat:
Mlibs/pthsem/Makefile | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/libs/pthsem/Makefile b/libs/pthsem/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pthsem PKG_VERSION:=2.0.8 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_MAINTAINER:=Othmar Truniger <github@truniger.ch> PKG_LICENSE:=LGPL-2.1+ @@ -21,6 +21,7 @@ PKG_MD5SUM:=9144b26dcc27e67498d63dd5456f934c PKG_FIXUP:=autoreconf PKG_BUILD_PARALLEL:=1 +PKG_FORTIFY_SOURCE:=0 PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk @@ -37,6 +38,13 @@ define Package/pthsem/description pthsem is an extend version, with support for semaphores added. It can be installed parallel to a normal pth. endef +# The musl libc provides a proper implementation of sigaltstack() so +# prevent configure from wrongly assuming a broken Linux platform +ifeq ($(CONFIG_USE_MUSL),y) + CONFIGURE_VARS += \ + ac_cv_check_sjlj=ssjlj +endif + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pthsem-config $(1)/usr/bin/