Optimize spec

This commit is contained in:
Алексей-З 2019-04-22 14:39:01 +00:00
parent 2a502eae69
commit 10e52ef4e4

View file

@ -246,7 +246,9 @@ env CARGO_HOME=.cargo cargo install cbindgen
export PATH=`pwd`/.cargo/bin:$PATH
%endif
%if %{mdkver} > 201610
export RUSTFLAGS="-Cdebuginfo=0"
%endif
%if 0%{?clang}
%define linker lld
@ -270,7 +272,9 @@ ac_add_options --disable-crashreporter
# debug
#ac_add_options --disable-debug
#ac_add_options --disable-debug-symbols
%if %{mdkver} > 201610
ac_add_options --disable-elf-hack
%endif
ac_add_options --disable-tests
ac_add_options --disable-updater
%if %{toolkit_gtk3}