diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2023-10-18 16:12:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 16:12:10 +0200 |
commit | cf1bde9a15d711564c51e707b6200f1b5f508b9f (patch) | |
tree | a53b6031485c2f204ff83d2936b855701317defd /llvm/docs/tutorial | |
parent | 178619d71dcfd23363859e417c792d8170d5f9f8 (diff) | |
download | llvm-cf1bde9a15d711564c51e707b6200f1b5f508b9f.zip llvm-cf1bde9a15d711564c51e707b6200f1b5f508b9f.tar.gz llvm-cf1bde9a15d711564c51e707b6200f1b5f508b9f.tar.bz2 |
[Driver] Link Flang runtime on Solaris (#65644)
I noticed that `flang-new` cannot link Fortran executables on Solaris since the runtime libs are missing.
This patch fixes this, following `Gnu.cpp`. The `linker-flags.f90` testcase is augmented to test for this,
renaming the `GNU` label to `UNIX` so it can be reused. Also use the current form `--target=` in the tests
and join the `-l` lines in the test for readibility.
Tested on `amd64-pc-solaris2.11`, `sparcv9-sun-solaris2.11`, and
`x86_64-pc-linux-gnu`.
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions