selftests/nolibc: explicitly specify ABI for MIPS
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 20 Oct 2023 11:39:39 +0000 (13:39 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 11 Dec 2023 21:38:23 +0000 (22:38 +0100)
More ABIs exist, for better clarity specify it explicitly everywhere.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
tools/testing/selftests/nolibc/Makefile

index 07c94df50dd14e70dcc0bede967900c6291b579d..6c7bc6ad3387884e00868cdb64d96c811f9c15e8 100644 (file)
@@ -136,7 +136,7 @@ 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)
 CFLAGS_s390 = -m64
-CFLAGS_mips32le = -EL
+CFLAGS_mips32le = -EL -mabi=32
 CFLAGS_STACKPROTECTOR ?= $(call cc-option,-mstack-protector-guard=global $(call cc-option,-fstack-protector-all))
 CFLAGS  ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 -W -Wall -Wextra \
                $(call cc-option,-fno-stack-protector) \