Debug build for failing koji builds

This commit is contained in:
Jan Horak 2019-08-06 11:06:08 +02:00
parent 05040f1acd
commit a94add60e5
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ ExcludeArch: s390x
# on other arches. # on other arches.
%ifarch x86_64 aarch64 %ifarch x86_64 aarch64
%if %{release_build} %if %{release_build}
%global build_with_pgo 1 %global build_with_pgo 0
%else %else
%global build_with_pgo 0 %global build_with_pgo 0
%endif %endif
@ -576,7 +576,7 @@ export STRIP=/bin/true
%if 0%{?build_with_pgo} %if 0%{?build_with_pgo}
GDK_BACKEND=x11 xvfb-run ./mach build 2>&1 | cat - GDK_BACKEND=x11 xvfb-run ./mach build 2>&1 | cat -
%else %else
./mach build 2>&1 | cat - env RUST_LOG=debug strace -y -f ./mach build 2>&1 | cat -
%endif %endif
# create debuginfo for crash-stats.mozilla.com # create debuginfo for crash-stats.mozilla.com