From: Michael Tremer Date: Mon, 10 Nov 2025 16:03:04 +0000 (+0000) Subject: lldpd: Build with the seccomp filter only on x86_64 X-Git-Tag: v2.29-core199~17^2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2244601d117e57c4b5cc7082a4843fcead167cff;p=ipfire-2.x.git lldpd: Build with the seccomp filter only on x86_64 Signed-off-by: Michael Tremer --- diff --git a/lfs/lldpd b/lfs/lldpd index e84dfaef2..72954fb0d 100644 --- a/lfs/lldpd +++ b/lfs/lldpd @@ -32,6 +32,13 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) +EXTRA_ARGS = + +# The seccomp filter is only available for x86_64 +ifeq "$(BUILD_ARCH)" "x86_64" + EXTRA_ARGS += --with-seccomp +endif + ############################################################################### # Top-level Rules ############################################################################### @@ -78,10 +85,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ - --with-seccomp \ --with-privsep-user=nobody \ --with-privsep-group=nobody \ - --without-embedded-libevent + --without-embedded-libevent \ + $(EXTRA_ARGS) cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP)