libredblack: pass CFLAGS properly 11146/head
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Mon, 27 Jan 2020 21:44:00 +0000 (22:44 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Mon, 27 Jan 2020 21:44:03 +0000 (22:44 +0100)
Fixes build with enabled ASLR PIE

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
libs/libredblack/Makefile

index 40d32df4ddd3b471d7a437d7853a51484ae9b7bc..2e3f020b6e3a3360f47979ad2b149576518cd0cd 100644 (file)
@@ -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