diff --git a/galera.spec b/galera.spec index d34b87c..8fd5778 100644 --- a/galera.spec +++ b/galera.spec @@ -35,7 +35,10 @@ replication engine see http://www.codership.com. %setup -q %build -export CPPFLAGS="%{optflags}" +CPPFLAGS="%{optflags}" +CPPFLAGS=`echo $CPPFLAGS| sed -e "s|-Wp,-D_GLIBCXX_ASSERTIONS||g" ` +export CPPFLAGS + scons %{?_smp_mflags} strict_build_flags=0