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.fat...@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