aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2018-12-27 21:04:32 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2018-12-28 12:19:32 +0200
commitc5b89abe2a0a325dbbb8a82ef6682c63199125c6 (patch)
treeec8998373ba03f627a09a66d4a87380ebff3c815 /package
parente59a6c8d4c5432ac22644ac06b48b179bd82b0b7 (diff)
downloadupstream-c5b89abe2a0a325dbbb8a82ef6682c63199125c6.tar.gz
upstream-c5b89abe2a0a325dbbb8a82ef6682c63199125c6.tar.bz2
upstream-c5b89abe2a0a325dbbb8a82ef6682c63199125c6.zip
lldpd: consolidate CONFIGURE_VARS
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'package')
-rw-r--r--package/network/services/lldpd/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile
index 97ae23e1d9..801a772e02 100644
--- a/package/network/services/lldpd/Makefile
+++ b/package/network/services/lldpd/Makefile
@@ -85,10 +85,6 @@ define Package/lldpd/conffiles
/etc/config/lldpd
endef
-CONFIGURE_VARS += \
- $(if $(CONFIG_USE_GLIBC),,libbsd_CFLAGS=-ldo-not-link-bsd) \
- $(if $(CONFIG_USE_GLIBC),,libbsd_LDFLAGS=-ldo-not-link-bsd)
-
CONFIGURE_ARGS += \
$(if $(CONFIG_LLDPD_WITH_PRIVSEP), \
--with-privsep-user=lldp \
@@ -113,6 +109,8 @@ CONFIGURE_ARGS += \
# there is no flag to disable libbsd
CONFIGURE_VARS += \
- $(if $(CONFIG_USE_GLIBC),,libbsd_LIBS="-lNONexistent")
+ $(if $(CONFIG_USE_GLIBC),,libbsd_CFLAGS=-ldo-not-link-bsd) \
+ $(if $(CONFIG_USE_GLIBC),,libbsd_LDFLAGS=-ldo-not-link-bsd) \
+ $(if $(CONFIG_USE_GLIBC),,libbsd_LIBS="-lNONexistent")
$(eval $(call BuildPackage,lldpd))