diff --git a/galera.spec b/galera.spec index af262d8..f301f45 100644 --- a/galera.spec +++ b/galera.spec @@ -49,6 +49,10 @@ replication engine see http://www.codership.com. # Workaround for version 26.4.7 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