From a5b7a461d3ca774412c18dbfa3b2b6158ab51cd0 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 31 Jan 2020 21:58:51 -0800 Subject: [PATCH] measurement-kit: Fix compilation with uClibc-ng The define in the codebase is wrong. Fixed in the Makefile. Signed-off-by: Rosen Penev --- libs/measurement-kit/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/measurement-kit/Makefile b/libs/measurement-kit/Makefile index 1331b688b..d6186af69 100644 --- a/libs/measurement-kit/Makefile +++ b/libs/measurement-kit/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=measurement-kit PKG_VERSION:=0.10.9 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/measurement-kit/measurement-kit/tar.gz/v$(PKG_VERSION)? @@ -39,6 +39,8 @@ endef CONFIGURE_ARGS+= --with-ca-bundle=/etc/ssl/cert.pem +TARGET_CFLAGS += $(if $(CONFIG_USE_UCLIBC),-DCATCH_CONFIG_GLOBAL_NEXTAFTER) + define Build/Configure ( cd $(PKG_BUILD_DIR); ./autogen.sh ) $(call Build/Configure/Default)