Skip to content

[RootFS] Do not link to libquadmath in RISC-V Fortran tests #10083

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down