diff --git a/bionetgen.spec b/bionetgen.spec index a1c7b26..680ef36 100644 --- a/bionetgen.spec +++ b/bionetgen.spec @@ -56,7 +56,8 @@ pushd bng2/Network3 autoreconf -iv %_openmpi_load -%configure +warnings="-Wno-unused-variable -Wno-unused-function -Wno-unused-but-set-variable -Wno-maybe-uninitialized" +CXXFLAGS="%{__global_cxxflags} $warnings" %configure %make_build -C src %install