disable LTO on redhat builds
This commit is contained in:
parent
5a34bb4571
commit
10a4929f75
|
@ -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}" \
|
||||||
|
|
Loading…
Reference in New Issue