Commit eb8208bf authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

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: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent f16e9476
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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