From 9c446ea6bd08628be2807e7f2d855899acad3cd8 Mon Sep 17 00:00:00 2001 From: Mahno Date: Tue, 18 Feb 2025 00:39:41 +0800 Subject: [PATCH] try fix build issue --- yast2-ruby-bindings.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yast2-ruby-bindings.spec b/yast2-ruby-bindings.spec index ac945e7..550a3fe 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="-Wno-error=format-security %{optflags}" \ - -DCMAKE_CXX_FLAGS="-Wno-error=format-security %{optflags}" \ + -DCMAKE_C_FLAGS="%{optflags} -Wno-error=format-security" \ + -DCMAKE_CXX_FLAGS="%{optflags} -Wno-error=format-security" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=1 \ ..