From eb8208bf1d5420bef2eddaa6dc6a7a3eb8a6cf37 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 24 Sep 2013 14:07:07 +0200 Subject: [PATCH] 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 --- package/civetweb/civetweb.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.30.2