[patch] Forward the -O options to the linker
rafael.espindola at gmail.com
Mon Oct 20 09:35:04 PDT 2014
It is fairly common for -O to be passed to clang when linking and both
bfd and gold support -O options, but currently the driver doesn't
translate it and projects have to use -Wl,-O if they want to enable
those options. In fact, our own build pass -O3, but not -Wl,-O.
The attached patch translates and forwards the -O options to the linker.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2899 bytes
Desc: not available
More information about the cfe-commits