commit 99fe54e0ce4d848f653a82093dba7079e529e16f
parent 742500c843a9f50141eef92779571e6fd9fafdf7
Author: Steven Barth <steven@midlink.org>
Date: Thu, 16 Jul 2015 17:52:02 +0200
Merge pull request #1508 from jow-/check-foritfy-source-compat
check: fix fortify source compatibility
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libs/check/Makefile b/libs/check/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=check
PKG_VERSION:=0.9.14
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/check
@@ -40,6 +40,9 @@ define Package/check/description
endef
TARGET_CFLAGS += $(FPIC)
+CONFIGURE_VARS += \
+ hw_cv_func_snprintf_c99=yes \
+ hw_cv_func_vsnprintf_c99=yes \
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include