Workaround bug on F30 ppc64le

This commit is contained in:
Michal Schorm 2019-07-20 13:48:35 +02:00
parent 6c2c804e77
commit 4d24362666

View File

@ -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" ` CXXFLAGS=`echo $CXXFLAGS| sed -e "s|-Wp,-D_GLIBCXX_ASSERTIONS||g" `
export CPPFLAGS CFLAGS CXXFLAGS 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 scons-3 %{?_smp_mflags} strict_build_flags=1
%endif
%install %install