Disabled rust-debug

This commit is contained in:
Алексей-З 2019-04-22 05:59:14 +00:00
parent 58c30b8cb9
commit 6adcddcbef

View file

@ -37,7 +37,7 @@ Summary: Next generation web browser
Name: firefox Name: firefox
Version: %{major} Version: %{major}
Epoch: %{ff_epoch} Epoch: %{ff_epoch}
Release: 3 Release: 4
License: MPLv1+ License: MPLv1+
Group: Networking/WWW Group: Networking/WWW
Url: http://www.mozilla.com/firefox/ Url: http://www.mozilla.com/firefox/
@ -246,6 +246,8 @@ env CARGO_HOME=.cargo cargo install cbindgen
export PATH=`pwd`/.cargo/bin:$PATH export PATH=`pwd`/.cargo/bin:$PATH
%endif %endif
export RUSTFLAGS="-Cdebuginfo=0"
%if 0%{?clang} %if 0%{?clang}
%define linker lld %define linker lld
export CC=clang export CC=clang
@ -268,6 +270,7 @@ ac_add_options --disable-crashreporter
# debug # debug
#ac_add_options --disable-debug #ac_add_options --disable-debug
#ac_add_options --disable-debug-symbols #ac_add_options --disable-debug-symbols
ac_add_options --disable-elf-hack
ac_add_options --disable-tests ac_add_options --disable-tests
ac_add_options --disable-updater ac_add_options --disable-updater
%if %{toolkit_gtk3} %if %{toolkit_gtk3}