package/radvd: fix build without stack-protector

Commit 6e85ab4449 forgot to manage the new
--{with,without}-stack-protector option which has been added with
f2cb35449f
and is enabled by default

Fixes:
 - http://autobuild.buildroot.org/results/e778df96f0a382a5b119724ee69f956ad455c452

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2020-11-19 13:03:47 +01:00 committed by Thomas Petazzoni
parent 90b9f1f881
commit 3ff1a64497

View File

@ -15,6 +15,12 @@ RADVD_CONF_ENV = \
RADVD_LICENSE = BSD-4-Clause-like
RADVD_LICENSE_FILES = COPYRIGHT
ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y)
RADVD_CONF_OPTS += --with-stack-protector
else
RADVD_CONF_OPTS += --without-stack-protector
endif
# We don't provide /etc/radvd.conf, so disable the service by default.
define RADVD_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 0644 package/radvd/50-radvd.preset \