Add a workaround for 32 bit architectures

This commit is contained in:
Michal Schorm 2021-02-24 03:12:32 +01:00
parent b0a0a4e47c
commit 7dfe556025

View File

@ -49,6 +49,10 @@ replication engine see http://www.codership.com.
# Workaround for version 26.4.7 # Workaround for version 26.4.7
export CXXFLAGS="$CXXFLAGS -Wno-error=format-extra-args" export CXXFLAGS="$CXXFLAGS -Wno-error=format-extra-args"
# ... and for 32 bit arches
export CXXFLAGS="$CXXFLAGS -Wno-error=format"
export CFLAGS="$CFLAGS -Wno-error=format-extra-args -Wno-error=format"
# end of workaroound
scons-3 %{?_smp_mflags} strict_build_flags=1 scons-3 %{?_smp_mflags} strict_build_flags=1