From a615a821d949f7e12874b1e0e4deb68ec08af104 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Mon, 27 Jan 2020 22:44:00 +0100 Subject: [PATCH] libredblack: pass CFLAGS properly Fixes build with enabled ASLR PIE Signed-off-by: Josef Schlehofer --- libs/libredblack/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/libredblack/Makefile b/libs/libredblack/Makefile index 40d32df4dd..2e3f020b6e 100644 --- a/libs/libredblack/Makefile +++ b/libs/libredblack/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libredblack PKG_VERSION:=1.3 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/libredblack @@ -39,6 +39,7 @@ endef CONFIGURE_ARGS += --without-rbgen CONFIGURE_VARS += lt_cv_prog_cc_pic=$(FPIC) +MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS)" define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib -- 2.30.2