[RISCV][Driver] Add libm linking to `RISCVToolchain` for C++
GCC automatically links math library by adding `-lm` to linker command line, since C++ runtime `libstdc++` requires libm, so add it to `RISCVToochain` as well. Differential Revision: https://reviews.llvm.org/D129065
Loading
Please sign in to comment