Accepting request 1124722 from X11:Wayland

- Fix previous change: export to CXXFLAGS instead of CPPFLAGS so
  that it's actually picked up. Add optflags to CXXFLAGS to ensure
  it's not lost.

OBS-URL: https://build.opensuse.org/request/show/1124722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shaderc?expand=0&rev=26
This commit is contained in:
Ana Guerrero 2023-11-09 20:34:15 +00:00 committed by Git OBS Bridge
commit a7a25b5be9
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 9 15:46:07 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix previous change: export to CXXFLAGS instead of CPPFLAGS so
that it's actually picked up. Add optflags to CXXFLAGS to ensure
it's not lost.
-------------------------------------------------------------------
Thu Nov 2 18:07:38 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -70,7 +70,7 @@ chmod a+x utils/update_build_version.sh
echo "\"%version\"" >glslc/src/build-version.inc
%build
export CPPFLAGS="-I%_includedir/External"
export CXXFLAGS="%{optflags} -I%_includedir/External"
%cmake -DSHADERC_SKIP_TESTS=ON
%cmake_build