From c8d867b96a989cafa58fa1eac99d041b40282b5a Mon Sep 17 00:00:00 2001 From: Alexander Ryzhov Date: Thu, 23 Apr 2015 09:26:57 +0000 Subject: [PATCH] bzip2: respect LDFLAGS Signed-off-by: Alexander Ryzhov --- utils/bzip2/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/utils/bzip2/Makefile b/utils/bzip2/Makefile index bf5bcf822..493ccc931 100644 --- a/utils/bzip2/Makefile +++ b/utils/bzip2/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bzip2 PKG_VERSION:=1.0.6 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.bzip.org/$(PKG_VERSION) @@ -52,13 +52,15 @@ define Package/bzip2/description data compressor. This package provides the binary. endef -TARGET_CFLAGS += $(FPIC) +TARGET_CFLAGS += \ + $(FPIC) \ + $(TARGET_LDFLAGS) + CONFIGURE_ARGS += --prefix=/usr MAKE_FLAGS += \ -f Makefile-libbz2_so \ CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDLAGS)" \ all define Build/InstallDev