[llvm-dev] Size optimization with gold linker
Muhui Jiang via llvm-dev
llvm-dev at lists.llvm.org
Fri Jul 6 22:39:23 PDT 2018
Hi
When I use -flto -fuse-ld=gold to force clang to use gold as the linker. I
found gold doesn't support the optimization flag -Os. It says that the flag
must between 0-3.
Does anyone know how to use size optimization with gold linker? Many Thanks.
Regards
Muhui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180707/72849b60/attachment.html>
More information about the llvm-dev
mailing list