From 4d24362666b3d2c9663d35a12b71f93faba45b0c Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Sat, 20 Jul 2019 13:48:35 +0200 Subject: [PATCH] Workaround bug on F30 ppc64le --- galera.spec | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/galera.spec b/galera.spec index 96640c4..b0880a5 100644 --- a/galera.spec +++ b/galera.spec @@ -46,7 +46,23 @@ CFLAGS=`echo $CFLAGS| sed -e "s|-Wp,-D_GLIBCXX_ASSERTIONS||g" ` CXXFLAGS=`echo $CXXFLAGS| sed -e "s|-Wp,-D_GLIBCXX_ASSERTIONS||g" ` export CPPFLAGS CFLAGS CXXFLAGS +# Print help: +# scons-3 --help +# scons-3 -H + +# Possibly usefull arguments: +# --debug=findlibs +# --debug=stacktrace +# --warn=all +# debug=0 + +%if 0%{?fedora} == 30 && %_arch == ppc64le +# Workaround for a bug which was solved in Rawhide +scons-3 %{?_smp_mflags} strict_build_flags=0 +%else scons-3 %{?_smp_mflags} strict_build_flags=1 +%endif + %install