mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-22 10:01:03 +00:00
bzip2: fix hardening build
Set the LDFLAGS otherwise it will not get the target hardening flags or any other generic flags provided in the LDFLAGS Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
e42a227ee3
commit
6be064c788
@ -56,14 +56,14 @@ define Package/bzip2/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += \
|
TARGET_CFLAGS += \
|
||||||
$(FPIC) \
|
$(FPIC)
|
||||||
$(TARGET_LDFLAGS)
|
|
||||||
|
|
||||||
CONFIGURE_ARGS += --prefix=/usr
|
CONFIGURE_ARGS += --prefix=/usr
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
-f Makefile-libbz2_so \
|
-f Makefile-libbz2_so \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
all
|
all
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
@ -89,11 +89,11 @@ define Package/bzip2/install
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
HOST_CFLAGS += \
|
HOST_CFLAGS += \
|
||||||
$(FPIC) \
|
$(FPIC)
|
||||||
$(HOST_LDFLAGS)
|
|
||||||
|
|
||||||
HOST_MAKE_FLAGS+= \
|
HOST_MAKE_FLAGS+= \
|
||||||
CFLAGS="$(HOST_CFLAGS)" \
|
CFLAGS="$(HOST_CFLAGS)" \
|
||||||
|
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||||
all
|
all
|
||||||
|
|
||||||
HOST_CONFIGURE_ARGS+= \
|
HOST_CONFIGURE_ARGS+= \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user