Skip to contentSkip to conversation

package/radvd: fix build without stack-protector

PATCH New Fabrice Fontaine 2 participants 2 messages Nov 19, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/radvd: fix build without stack-protector

Commit 6e85ab44493624748398ffb2c6bf4bda409f2de7 forgot to manage the new --{with,without}-stack-protector option which has been added with
https://github.com/reubenhwk/radvd/commit/f2cb35449f35b5815f3804161c968fde5ef2982b
and is enabled by default

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

---
 package/radvd/radvd.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/radvd/radvd.mk +6 -0
index 7a650dc3c5..bed6367841 100644
@@ -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 \
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 package/radvd: fix build without stack-protector

Quoted 5 lines · On Thu, 19 Nov 2020 13:03:47 +0100 Fabrice Fontaine…

Commit 6e85ab44493624748398ffb2c6bf4bda409f2de7 forgot to manage the new --{with,without}-stack-protector option which has been added with
https://github.com/reubenhwk/radvd/commit/f2cb35449f35b5815f3804161c968fde5ef2982b
and is enabled by default

Quoted 7 lines

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

---
 package/radvd/radvd.mk | 6 ++++++
 1 file changed, 6 insertions(+)

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com