mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/4] scripts: Makefile.pic: define __NO_FORTIFY without value
@ 2025-07-30  5:57 Ahmad Fatoum
  2025-07-30  5:57 ` [PATCH 2/4] ARM64: configs: multi_v8: disable layerscape temporarily Ahmad Fatoum
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Ahmad Fatoum @ 2025-07-30  5:57 UTC (permalink / raw)
  To: barebox; +Cc: chalianis1, Ahmad Fatoum

The default for -D without = is to define the symbol to expand to 1.
This is nt what we want, because pbl/string.c defines it without value
leading to a build error. Fix this by defining it empty explicitly
instead.

Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
 scripts/Makefile.pic | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.pic b/scripts/Makefile.pic
index a08ee67f4a3e..0cefe350b39e 100644
--- a/scripts/Makefile.pic
+++ b/scripts/Makefile.pic
@@ -13,7 +13,7 @@ picflags-$(CONFIG_ARM64)	:= -fpie
 
 picflags-y			+= -include $(srctree)/include/linux/hidden.h \
 				   -D__fully_pic__ \
-				   -D__NO_FORTIFY \
+				   -D__NO_FORTIFY="" \
 				   -ffreestanding \
 				   -fno-stack-protector \
 				   $(call cc-option,-fno-addrsig) \
-- 
2.39.5




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-08-11 13:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-30  5:57 [PATCH 1/4] scripts: Makefile.pic: define __NO_FORTIFY without value Ahmad Fatoum
2025-07-30  5:57 ` [PATCH 2/4] ARM64: configs: multi_v8: disable layerscape temporarily Ahmad Fatoum
2025-08-05  5:43   ` Sascha Hauer
2025-08-11 13:34     ` Ahmad Fatoum
2025-07-30  5:57 ` [PATCH 3/4] ARM: configs: multi: configure CONFIG_CONSOLE_ACTIVATE_ALL_FALLBACK Ahmad Fatoum
2025-07-30  5:57 ` [PATCH 4/4] ARM64: configs: add multi_v8_efi_defconfig Ahmad Fatoum
2025-08-11 13:34 ` [PATCH 1/4] scripts: Makefile.pic: define __NO_FORTIFY without value Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox