<p>...and one more note on the subject. The gcc manual says:</p>
<pre><code>           The important thing to keep in mind is that to enable link-time
           optimizations you need to use the GCC driver to perform the link
           step.  GCC automatically performs link-time optimization if any of
           the objects involved were compiled with the -flto command-line
           option.  You can always override the automatic decision to do
           link-time optimization by passing -fno-lto to the link command.
</code></pre>
<p>So unlike some other things, this doesn't actually need a macro for easy disabling ability, people can just append -fno-lto to the packages where this is needed for whatever reason.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/809?email_source=notifications&email_token=ADLPZU5XF6EYU65ZCQDU4GTQEKRBNA5CNFSM4IKT5UTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FPDAA#issuecomment-520810880">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU5ZHTAZM5TMFKWVBT3QEKRBNANCNFSM4IKT5UTA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ADLPZU2YLFVGRMBEIKCCAZLQEKRBNA5CNFSM4IKT5UTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FPDAA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/809?email_source=notifications\u0026email_token=ADLPZU5XF6EYU65ZCQDU4GTQEKRBNA5CNFSM4IKT5UTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FPDAA#issuecomment-520810880",
"url": "https://github.com/rpm-software-management/rpm/pull/809?email_source=notifications\u0026email_token=ADLPZU5XF6EYU65ZCQDU4GTQEKRBNA5CNFSM4IKT5UTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FPDAA#issuecomment-520810880",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>