diff --git a/package/radvd/radvd.mk b/package/radvd/radvd.mk index 7a650dc3c5..bed6367841 100644 --- a/package/radvd/radvd.mk +++ b/package/radvd/radvd.mk @@ -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 \