1From 0759f3f9bb2850df455599e7c82eda4ec804e3b6 Mon Sep 17 00:00:00 2001 2From: Peter Seiderer <ps.report@gmx.net> 3Date: Wed, 10 Mar 2021 22:57:50 +0100 4Subject: [PATCH] Makefile: disable stack-protector-strong 5 6Fixes: 7 8 .../aarch64-buildroot-linux-uclibc/bin/ld: runlevel.o: in function `main': 9 runlevel.c:(.text.startup+0x4): undefined reference to `__stack_chk_guard' 10 .../aarch64-buildroot-linux-uclibc/bin/ld: cannot find -lssp_nonshared 11 .../aarch64-buildroot-linux-uclibc/bin/ld: cannot find -lssp 12 13Signed-off-by: Peter Seiderer <ps.report@gmx.net> 14--- 15 src/Makefile | 2 +- 16 1 file changed, 1 insertion(+), 1 deletion(-) 17 18diff --git a/src/Makefile b/src/Makefile 19index 1b368dc..1985929 100644 20--- a/src/Makefile 21+++ b/src/Makefile 22@@ -10,7 +10,7 @@ 23 24 CPPFLAGS = 25 CFLAGS ?= -O2 26-override CFLAGS += -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"$(VERSION)\" 27+override CFLAGS += -ansi -fomit-frame-pointer -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"$(VERSION)\" 28 override CFLAGS += $(shell getconf LFS_CFLAGS) 29 STATIC = 30 MANDB := s@^\('\\\\\"\)[^\*-]*-\*- coding: [^[:blank:]]\+ -\*-@\1@ 31-- 322.30.1 33 34