Browse Source

libredblack: pass CFLAGS properly

Fixes build with enabled ASLR PIE

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
lilik-openwrt-22.03
Josef Schlehofer 5 years ago
parent
commit
a615a821d9
No known key found for this signature in database GPG Key ID: B950216FE4329F4C
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libs/libredblack/Makefile

+ 2
- 1
libs/libredblack/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libredblack PKG_NAME:=libredblack
PKG_VERSION:=1.3 PKG_VERSION:=1.3
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/libredblack PKG_SOURCE_URL:=@SF/libredblack
@ -39,6 +39,7 @@ endef
CONFIGURE_ARGS += --without-rbgen CONFIGURE_ARGS += --without-rbgen
CONFIGURE_VARS += lt_cv_prog_cc_pic=$(FPIC) CONFIGURE_VARS += lt_cv_prog_cc_pic=$(FPIC)
MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS)"
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib


Loading…
Cancel
Save