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>
endef
TARGET_CFLAGS += \
- $(FPIC) \
- $(TARGET_LDFLAGS)
+ $(FPIC)
CONFIGURE_ARGS += --prefix=/usr
MAKE_FLAGS += \
-f Makefile-libbz2_so \
CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
all
define Build/InstallDev
endef
HOST_CFLAGS += \
- $(FPIC) \
- $(HOST_LDFLAGS)
+ $(FPIC)
HOST_MAKE_FLAGS+= \
CFLAGS="$(HOST_CFLAGS)" \
+ LDFLAGS="$(HOST_LDFLAGS)" \
all
HOST_CONFIGURE_ARGS+= \