aboutsummaryrefslogtreecommitdiff
path: root/package/civetweb
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2015-04-27 22:31:00 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-04-27 22:35:57 +0200
commitea94747798a6c0c61c261bc3296417bb12d43d98 (patch)
treee190366117d560b4a30ba52c722b319eb8597ee6 /package/civetweb
parentefd49e3366164a992b76d5e42450dface6c90ffe (diff)
downloadbuildroot-ea94747798a6c0c61c261bc3296417bb12d43d98.tar.gz
buildroot-ea94747798a6c0c61c261bc3296417bb12d43d98.tar.bz2
civetweb: use TARGET_CONFIGURE_OPTS
Instead of explicitly handling CC/LD/CFLAGS. No functional change, but it is cleaner like this. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/civetweb')
-rw-r--r--package/civetweb/civetweb.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/civetweb/civetweb.mk b/package/civetweb/civetweb.mk
index 496eef85da..d29765b87d 100644
--- a/package/civetweb/civetweb.mk
+++ b/package/civetweb/civetweb.mk
@@ -10,7 +10,7 @@ CIVETWEB_LICENSE = MIT
CIVETWEB_LICENSE_FILES = LICENSE.md
CIVETWEB_CONF_OPTS = TARGET_OS=LINUX WITH_IPV6=1
-CIVETWEB_COPT = $(TARGET_CFLAGS) -DHAVE_POSIX_FALLOCATE=0
+CIVETWEB_COPT = -DHAVE_POSIX_FALLOCATE=0
CIVETWEB_LIBS = -lpthread -lm
CIVETWEB_SYSCONFDIR = /etc
CIVETWEB_HTMLDIR = /var/www
@@ -29,13 +29,13 @@ CIVETWEB_COPT += -DNO_SSL
endif
define CIVETWEB_BUILD_CMDS
- $(MAKE) CC="$(TARGET_CC)" LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D) build \
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) build \
$(CIVETWEB_CONF_OPTS) \
COPT="$(CIVETWEB_COPT)" LIBS="$(CIVETWEB_LIBS)"
endef
define CIVETWEB_INSTALL_TARGET_CMDS
- $(MAKE) CC="$(TARGET_CC)" -C $(@D) install \
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install \
DOCUMENT_ROOT="$(CIVETWEB_HTMLDIR)" \
CONFIG_FILE2="$(CIVETWEB_SYSCONFDIR)/civetweb.conf" \
HTMLDIR="$(TARGET_DIR)$(CIVETWEB_HTMLDIR)" \