mirror of
https://github.com/MorizzG/portage-conf.git
synced 2025-12-06 01:12:42 +00:00
split LDFLAGS into mold and llvm flags; removed -flto since apparently not needed
This commit is contained in:
parent
0d3cea304f
commit
81c0a6ac21
1 changed files with 3 additions and 1 deletions
|
|
@ -25,7 +25,9 @@ ADDR2LINE="llvm-addr2line"
|
|||
|
||||
LD="ld.mold"
|
||||
|
||||
LDFLAGS="${LDFLAGS} -fuse-ld=mold -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -flto"
|
||||
LDFLAGS="${LDFLAGS} -Wl,--as-needed -fuse-ld=mold"
|
||||
|
||||
LDFLAGS="${LDFLAGS} -rtlib=compiler-rt -unwindlib=libunwind"
|
||||
|
||||
# don't strip comment section of binaries
|
||||
PORTAGE_STRIP_FLAGS="--strip-unneeded -N __gentoo_check_ldflags__ -R .GCC.command.line -R .note.gnu.gold-version"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue