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