diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-25 03:53:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-25 03:53:16 +0100 |
commit | fad7c346bcf147b6a580ccc1d0a9b35dbe194ecc (patch) | |
tree | ad2e2924d725873f214407741185a257944d8ed9 /profiles/features | |
parent | 27ddeb821d437a2d848d9fa85a30f88f48fb52a6 (diff) |
gentoo auto-resync : 25:08:2023 - 03:53:16
Diffstat (limited to 'profiles/features')
-rw-r--r-- | profiles/features/llvm/make.defaults | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/profiles/features/llvm/make.defaults b/profiles/features/llvm/make.defaults index a677172b269d..ce3401222615 100644 --- a/profiles/features/llvm/make.defaults +++ b/profiles/features/llvm/make.defaults @@ -11,7 +11,10 @@ CXX="clang++" LD="ld.lld" # linker flags -LDFLAGS="${LDFLAGS} -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed" +# We don't set LDFLAGS here for linker, rtlib, etc because clang-common enforces +# the needed bits for us and it confuses clang->gcc for stuff like Fortran, +# see bug #908798. +LDFLAGS="${LDFLAGS} -Wl,--as-needed" # use LLVM-provided binutils AR="llvm-ar" |