From 0c111b43bcebccab18f7a709196f61bd60077f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Tue, 24 Dec 2024 14:51:37 +0100 Subject: [PATCH] [RootFS] Do not link to libquadmath in RISC-V Fortran tests --- .../Rootfs/bundled/testsuite/fortran/hello_world/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0_RootFS/Rootfs/bundled/testsuite/fortran/hello_world/Makefile b/0_RootFS/Rootfs/bundled/testsuite/fortran/hello_world/Makefile index a2dad819a62..2f9ecacc056 100644 --- a/0_RootFS/Rootfs/bundled/testsuite/fortran/hello_world/Makefile +++ b/0_RootFS/Rootfs/bundled/testsuite/fortran/hello_world/Makefile @@ -6,9 +6,9 @@ include ../../common.mk # ppc64le sometimes requires -lm because it's bugged. It doesn't hurt us to include it, so we do it everywhere CFLDFLAGS = -lgfortran -lm -# On armv7l, aarch64 and powerpc64le, libquadmath doesn't exist! +# On armv7l, aarch64, powerpc64le, and risc-v libquadmath doesn't exist! # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 -ifeq (,$(findstring arm-,$(target))$(findstring aarch64,$(target))$(findstring powerpc64le,$(target))) +ifeq (,$(findstring arm-,$(target))$(findstring aarch64,$(target))$(findstring powerpc64le,$(target))$(findstring riscv,$(target))) CFLDFLAGS += -lquadmath endif