diff --git a/yast2-ruby-bindings.spec b/yast2-ruby-bindings.spec index 5dd09e7..ac945e7 100644 --- a/yast2-ruby-bindings.spec +++ b/yast2-ruby-bindings.spec @@ -75,8 +75,8 @@ mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \ -DLIB=%{_lib} \ - -DCMAKE_C_FLAGS="%{optflags}" \ - -DCMAKE_CXX_FLAGS="%{optflags}" \ + -DCMAKE_C_FLAGS="-Wno-error=format-security %{optflags}" \ + -DCMAKE_CXX_FLAGS="-Wno-error=format-security %{optflags}" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=1 \ ..