By not blacklisting TARGET_COMPILER_RECORD_SWITCHES parts of the
bootloader become too big, with objcopy results then having the
wrong size.

Since we are handling a bootloader here, we should further disable
any hardening option whatsoever.

Signed-off-by: Marc Kleine-Budde <[email protected]>
Signed-off-by: Holger Assmann <[email protected]>
---
 rules/syslinux.make | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/rules/syslinux.make b/rules/syslinux.make
index 550fa35a8..0d17470d3 100644
--- a/rules/syslinux.make
+++ b/rules/syslinux.make
@@ -32,8 +32,7 @@ SYSLINUX_MAKE_ENV := \
        ICECC=no
 
 SYSLINUX_WRAPPER_BLACKLIST := \
-       TARGET_HARDEN_STACKCLASH \
-       TARGET_HARDEN_PIE
+       $(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST)
 SYSLINUX_MAKE_OPT := $(CROSS_ENV_PROGS)
 SYSLINUX_INSTALL_OPT := install INSTALLROOT=$(SYSLINUX_PKGDIR)
 
-- 
2.30.2


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to