From: Peter Korsgaard Date: Tue, 24 Sep 2013 12:07:07 +0000 (+0200) Subject: civetweb: use TARGET_LDFLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb8208bf1d5420bef2eddaa6dc6a7a3eb8a6cf37;p=buildroot.git civetweb: use TARGET_LDFLAGS We should use our LDFLAGS when building as well. At the same time, drop the unused CIVETWEB_LDFLAGS. Signed-off-by: Peter Korsgaard --- diff --git a/package/civetweb/civetweb.mk b/package/civetweb/civetweb.mk index e34da064c6..e46856341f 100644 --- a/package/civetweb/civetweb.mk +++ b/package/civetweb/civetweb.mk @@ -11,7 +11,6 @@ CIVETWEB_LICENSE_FILES = LICENSE.md CIVETWEB_CONF_OPT = TARGET_OS=LINUX CIVETWEB_COPT = $(TARGET_CFLAGS) -DHAVE_POSIX_FALLOCATE=0 -CIVETWEB_LDFLAGS = $(TARGET_LDFLAGS) CIVETWEB_SYSCONFDIR = /etc CIVETWEB_HTMLDIR = /var/www @@ -35,7 +34,7 @@ else endif define CIVETWEB_BUILD_CMDS - $(MAKE) CC="$(TARGET_CC)" -C $(@D) build \ + $(MAKE) CC="$(TARGET_CC)" LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D) build \ $(CIVETWEB_CONF_OPT) \ COPT="$(CIVETWEB_COPT)" endef