Makefile: unconditionally disable SSP
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 15 May 2021 08:16:38 +0000 (10:16 +0200)
committerAnup Patel <anup@brainfault.org>
Wed, 19 May 2021 11:07:50 +0000 (16:37 +0530)
commit6139ab272b1e69e4ff8a37655969c877ae86de49
tree75a311d966b9259b4361bace3706f9dfaaa44a73
parente822b7504df0583a6a227d51cb7da8ea9fc79c0a
Makefile: unconditionally disable SSP

Though -nostdlib is passed in CFLAGS, -fno-stack-protector must also be
passed to avoid linking errors related to undefined references to
'__stack_chk_guard' and '__stack_chk_fail' if toolchain enforces
-fstack-protector.

Fixes:
 - https://gitlab.com/kubu93/buildroot/-/jobs/1247043359

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Makefile