LTO: Prevent -flto exposing csu internals when linking v2.
authorzrj <rimvydas.jasinskas@gmail.com>
Wed, 12 Oct 2016 14:00:23 +0000 (17:00 +0300)
committerzrj <zrj@dragonflybsd.org>
Tue, 25 Oct 2016 16:31:30 +0000 (19:31 +0300)
commitb02d68b2e3c9db4758891b3ea7821bb07f1bd5d6
treed82fde9c7c7d99cbd8ce85f4137df6b119c0f22d
parentc1e8f2dbc946ed23fa3c47dcac0c6510d5e4c776
LTO: Prevent -flto exposing csu internals when linking v2.

Userland applications should not see what is happening in these sources,
let alone have behavioural changes for -fxxx flags during linking.

Also make sure -flto does *not* get near any of crt1 stuff.
Caused lost os version elf notes in utilities and even segfaults in pkg(8).
gnu/lib/csu/Makefile.csu
lib/csu/x86_64/Makefile.csu