Skip to content

Commit e9606ec

Browse files
authored
[RootFS] Do not link to libquadmath in RISC-V Fortran tests (#10083)
1 parent f3a5f80 commit e9606ec

File tree

1 file changed

+2
-2
lines changed
  • 0_RootFS/Rootfs/bundled/testsuite/fortran/hello_world

1 file changed

+2
-2
lines changed

0_RootFS/Rootfs/bundled/testsuite/fortran/hello_world/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ include ../../common.mk
66
# ppc64le sometimes requires -lm because it's bugged. It doesn't hurt us to include it, so we do it everywhere
77
CFLDFLAGS = -lgfortran -lm
88

9-
# On armv7l, aarch64 and powerpc64le, libquadmath doesn't exist!
9+
# On armv7l, aarch64, powerpc64le, and risc-v libquadmath doesn't exist!
1010
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440
11-
ifeq (,$(findstring arm-,$(target))$(findstring aarch64,$(target))$(findstring powerpc64le,$(target)))
11+
ifeq (,$(findstring arm-,$(target))$(findstring aarch64,$(target))$(findstring powerpc64le,$(target))$(findstring riscv,$(target)))
1212
CFLDFLAGS += -lquadmath
1313
endif
1414

0 commit comments

Comments
 (0)