summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-09-24 12:07:07 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-09-24 12:11:54 (GMT)
commiteb8208bf1d5420bef2eddaa6dc6a7a3eb8a6cf37 (patch)
tree12395a9a5612ce289a511cece7e424d08a0bfb85
parentf16e9476f42d13021a352ca633c39e25fe3a547a (diff)
downloadbuildroot-eb8208bf1d5420bef2eddaa6dc6a7a3eb8a6cf37.tar.gz
buildroot-eb8208bf1d5420bef2eddaa6dc6a7a3eb8a6cf37.tar.bz2
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 <jacmet@sunsite.dk>
-rw-r--r--package/civetweb/civetweb.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/civetweb/civetweb.mk b/package/civetweb/civetweb.mk
index e34da06..e468563 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