<p>Should be ok -- we've had -flto and friends on regular %{optflags} forever (using %global optflags %{optflags} -fno-lto to override where necessary).</p>
<p>The only thing I could foresee breaking (not for OMV) is if someone relies on _lto_cflags to support different compilers that don't even use similar compiler flags. (Build packages from the same src.rpm on a real OS and on Windoze with the M$ compiler or something? Probably nobody is doing that in the real world)</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/813?email_source=notifications&email_token=ADLPZU5LLFQI53BPZ4R4PFTQEK6V7A5CNFSM4ILK3ENKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FZL6A#issuecomment-520852984">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU5OMV6B4IZAADFQ4YLQEK6V7ANCNFSM4ILK3ENA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ADLPZU2BST6KD2ZNFYMUSQDQEK6V7A5CNFSM4ILK3ENKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FZL6A.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/813?email_source=notifications\u0026email_token=ADLPZU5LLFQI53BPZ4R4PFTQEK6V7A5CNFSM4ILK3ENKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FZL6A#issuecomment-520852984",
"url": "https://github.com/rpm-software-management/rpm/pull/813?email_source=notifications\u0026email_token=ADLPZU5LLFQI53BPZ4R4PFTQEK6V7A5CNFSM4ILK3ENKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FZL6A#issuecomment-520852984",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>