mold on gentoo llvm profiles
user7z opened this issue · 1 comments
user7z commented
the default LDFAGS in llvm profiles in bouth glibc & musl are :
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed"
i make use of mold by :
LDFLAGS="$LDFLAGS -fuse-ld=mold"
but the compiler dont work , i think its a syntax issue , normally thise works under gcc based profiles, what could be the probleme here , can i use mold instead of lld ?
rui314 commented
I'm not a Gentoo user, so I cannot answer to your question as to how to pass compiler options as you desire. You may want to ask at a Gentoo forum.