diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2025-03-01 12:23:59 +0100 |
---|---|---|
committer | Thomas Weißschuh <linux@weissschuh.net> | 2025-03-02 13:25:20 +0100 |
commit | f8bedb30d66b467fffdb38d8e7265b7be23cfa38 (patch) | |
tree | ed295989c5bebdae3ba5f8b0422c911555fc817d | |
parent | 3bd53b2fa57d9472d3af63b3f4d26023ba07b579 (diff) |
selftests/nolibc: explicitly enable ARM mode
The default could also be -mthumb.
Explicitly use -marm to keep everything predictable.
Tested-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250301-nolibc-armthumb-v1-1-d1f04abb5f6d@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
-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 14fc8c7e7c30..1dd2841a5fe7 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -160,6 +160,7 @@ Q=@ endif CFLAGS_i386 = $(call cc-option,-m32) +CFLAGS_arm = -marm CFLAGS_ppc = -m32 -mbig-endian -mno-vsx $(call cc-option,-mmultiple) CFLAGS_ppc64 = -m64 -mbig-endian -mno-vsx $(call cc-option,-mmultiple) CFLAGS_ppc64le = -m64 -mlittle-endian -mno-vsx $(call cc-option,-mabi=elfv2) |