Skip to content

Commit f8bedb3

Browse files
committed
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>
1 parent 3bd53b2 commit f8bedb3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/testing/selftests/nolibc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ Q=@
160160
endif
161161

162162
CFLAGS_i386 = $(call cc-option,-m32)
163+
CFLAGS_arm = -marm
163164
CFLAGS_ppc = -m32 -mbig-endian -mno-vsx $(call cc-option,-mmultiple)
164165
CFLAGS_ppc64 = -m64 -mbig-endian -mno-vsx $(call cc-option,-mmultiple)
165166
CFLAGS_ppc64le = -m64 -mlittle-endian -mno-vsx $(call cc-option,-mabi=elfv2)

0 commit comments

Comments
 (0)