diff options
author | Willy Tarreau <w@1wt.eu> | 2023-06-07 22:28:58 +0200 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2023-06-07 22:53:01 +0200 |
commit | a91959c71231f862d13a7ea36ad3ece6b1eb0f8c (patch) | |
tree | 15efed34d05055c174bd09fa1e562b61761b7aaa | |
parent | 1a351a0e70482ab605ad9aab6ef8d98422e55df1 (diff) | |
download | nolibc-20230606-nolibc-rv32+stkp7a.tar.gz |
selftests/nolibc: make sure gcc always use little endian on MIPS20230606-nolibc-rv32+stkp7a
The test on MIPS stopped working after I upgraded some of my toolchains
to use the ones from kernel.org because the mips toolchain defaults to
big endian, even though it supports both endians. Let's just add an
explicit -EL to make sure it always succeeds like the kernel does.
Signed-off-by: Willy Tarreau <w@1wt.eu>
-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 4a3a105e1fdf7..1b7b3c82f8add 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -77,6 +77,7 @@ Q=@ endif CFLAGS_s390 = -m64 +CFLAGS_mips = -EL 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 \ $(call cc-option,-fno-stack-protector) \ |