From ecf6fda36d37632578631f560aff444a5c46f790e098fc5f034823c160cba476 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Thu, 30 Nov 2023 14:38:54 +0000 Subject: [PATCH] Accepting request 1130017 from home:Guillaume_G:PAC_BTI - Add back %{optflags} in c++ flags This was unintentionally disabled when c++17 was forced OBS-URL: https://build.opensuse.org/request/show/1130017 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=35 --- zxing-cpp.changes | 6 ++++++ zxing-cpp.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/zxing-cpp.changes b/zxing-cpp.changes index 1535bf3..1aa2321 100644 --- a/zxing-cpp.changes +++ b/zxing-cpp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 30 14:32:19 UTC 2023 - Guillaume GARDET + +- Add back %{optflags} in c++ flags + This was unintentionally disabled when c++17 was forced + ------------------------------------------------------------------- Fri Oct 6 06:01:16 UTC 2023 - Paolo Stivanin diff --git a/zxing-cpp.spec b/zxing-cpp.spec index d621b30..e97af5c 100644 --- a/zxing-cpp.spec +++ b/zxing-cpp.spec @@ -79,7 +79,7 @@ other applications. export CC="gcc-7" export CXX="g++-7" %endif -export CXXFLAGS="-std=c++17" +export CXXFLAGS="%{optflags} -std=c++17" # Examples require QT5-base/multimedia, but doing so creates a cycle # Blackbox tests require fmt %cmake \