summaryrefslogtreecommitdiff
path: root/src/core/kmod-setup.h
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2015-07-16 15:27:57 +0200
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2015-07-16 16:17:08 +0200
commit4fecbe59dadaed314b792ed35ef5dc24c7047a18 (patch)
tree2a0c72a223a7a8ec77fb0f8264fe59af85cbe4b2 /src/core/kmod-setup.h
parent2ec7c4279e4cbbe668c5dfb0ab447b74deaa294b (diff)
build-sys: Use slim LTO objects if possible
While 235c6e6 gets LTO builds running again, it goes back to using fat LTO objects instead of using gcc-{ar,nm,ranlib}. Building these fat objects takes significantly more time. Use the suggested solution and look for gcc-{ar,nm,ranlib}, which launch the binutils tools with the appropriate --plugin parameter. GCC versions that do not ship these should either default to -ffat-lto-objects or do not support LTO at all. On another note, nm from binutils 2.25 seems to be smart enough to load the LTO plugin when needed without having to specify --plugin.
Diffstat (limited to 'src/core/kmod-setup.h')
0 files changed, 0 insertions, 0 deletions