Add workaround for issues on ARCH64 on Fedora>=30

This commit is contained in:
Michal Schorm 2019-06-19 02:02:20 +02:00
parent 61a8b5b766
commit 363d5221da

View File

@ -42,8 +42,18 @@ CPPFLAGS="%{optflags}"
CPPFLAGS=`echo $CPPFLAGS| sed -e "s|-Wp,-D_GLIBCXX_ASSERTIONS||g" `
export CPPFLAGS
scons-3 %{?_smp_mflags} strict_build_flags=0
# Print help:
#scons-3 --help
#scons-3 -H
# Possibly usefull arguments:
# --debug=findlibs
# --debug=stacktrace
# --warn=all
# debug=0
# Using "debug=0" as a workaround for a failing test appearing first in galera 25.3.26; and failing only on AARCH64 on Fedora>=30
scons-3 %{?_smp_mflags} strict_build_flags=0 debug=0
%install
install -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/garbd.service