disable LTO on redhat builds

This commit is contained in:
Andrew Bauer 2020-08-06 14:36:54 -05:00 committed by GitHub
parent 5a34bb4571
commit 10a4929f75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -206,6 +206,10 @@ mv -f CakePHP-Enum-Behavior-%{ceb_version} ./web/api/app/Plugin/CakePHP-Enum-Beh
./utils/zmeditconfigdata.sh ZM_OPT_FAST_DELETE no ./utils/zmeditconfigdata.sh ZM_OPT_FAST_DELETE no
%build %build
# Disable LTO due to top level asm
# See https://fedoraproject.org/wiki/LTOByDefault
%define _lto_cflags %{nil}
%cmake3 \ %cmake3 \
-DZM_WEB_USER="%{zmuid_final}" \ -DZM_WEB_USER="%{zmuid_final}" \
-DZM_WEB_GROUP="%{zmgid_final}" \ -DZM_WEB_GROUP="%{zmgid_final}" \