diff --git a/qpid-proton.spec b/qpid-proton.spec index 05c4c5f..37f8f34 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -229,8 +229,8 @@ python_includes=$(ls -d /usr/include/python3*) -DSYSINSTALL_BINDINGS=ON \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ -DENABLE_FUZZ_TESTING=NO \ - "-DCMAKE_C_FLAGS=$CMAKE_C_FLAGS $CFLAGS $ADDCFLAGS" \ - "-DCMAKE_CXX_FLAGS=$CMAKE_CXX_FLAGS $CXXFLAGS $ADDCXXFLAGS" \ + "-DCMAKE_C_FLAGS=$CMAKE_C_FLAGS $CFLAGS -Wno-error=format-security" \ + "-DCMAKE_CXX_FLAGS=$CMAKE_CXX_FLAGS $CXXFLAGS -Wno-error=format-security" \ .. #make all docs %{?_smp_mflags} make all docs -j1