From 7dfe556025ba302979839424ae60405dfc3f0c92 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Wed, 24 Feb 2021 03:12:32 +0100 Subject: [PATCH] Add a workaround for 32 bit architectures --- galera.spec | 4 ++++ 1 file changed, 4 insertions(+) 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