From 6adcddcbefd00d3d0cab08cf3eda8ce2648840ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9-=D0=97?= Date: Mon, 22 Apr 2019 05:59:14 +0000 Subject: [PATCH] Disabled rust-debug --- firefox.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firefox.spec b/firefox.spec index 24d2c7f..8ad9b5f 100644 --- a/firefox.spec +++ b/firefox.spec @@ -37,7 +37,7 @@ Summary: Next generation web browser Name: firefox Version: %{major} Epoch: %{ff_epoch} -Release: 3 +Release: 4 License: MPLv1+ Group: Networking/WWW Url: http://www.mozilla.com/firefox/ @@ -246,6 +246,8 @@ env CARGO_HOME=.cargo cargo install cbindgen export PATH=`pwd`/.cargo/bin:$PATH %endif +export RUSTFLAGS="-Cdebuginfo=0" + %if 0%{?clang} %define linker lld export CC=clang @@ -268,6 +270,7 @@ ac_add_options --disable-crashreporter # debug #ac_add_options --disable-debug #ac_add_options --disable-debug-symbols +ac_add_options --disable-elf-hack ac_add_options --disable-tests ac_add_options --disable-updater %if %{toolkit_gtk3}