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 \