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
This commit is contained in:
Adam Majer 2023-11-30 14:38:54 +00:00 committed by Git OBS Bridge
parent 8527d9a225
commit ecf6fda36d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 30 14:32:19 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- 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 <info@paolostivanin.com>

View File

@ -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 \