diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-03-25 16:45:15 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-03-27 16:26:10 -0700 |
commit | ff221a6d9ae8191c97d6578f2e1900db483a289d (patch) | |
tree | 0fc26859d0e1bfc9b2b91294279e4a3f4528baa5 /tools/testing | |
parent | 9735716830f2d52fd402b853b56cd94c0cb433c0 (diff) | |
download | linux-ff221a6d9ae8191c97d6578f2e1900db483a289d.tar.gz linux-ff221a6d9ae8191c97d6578f2e1900db483a289d.tar.bz2 linux-ff221a6d9ae8191c97d6578f2e1900db483a289d.zip |
tools/nolibc: i386: add stackprotector support
Enable the new stackprotector support for i386.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing')
-rw-r--r-- | tools/testing/selftests/nolibc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile index e516e53775d4..ab99786c1e94 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -79,6 +79,7 @@ endif CFLAGS_STACKPROTECTOR = -DNOLIBC_STACKPROTECTOR \ $(call cc-option,-mstack-protector-guard=global) \ $(call cc-option,-fstack-protector-all) +CFLAGS_STKP_i386 = $(CFLAGS_STACKPROTECTOR) CFLAGS_s390 = -m64 CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables \ $(call cc-option,-fno-stack-protector) \ |