SHA256
1
0
forked from pool/shaderc

Accepting request 1124721 from home:dimstar:Factory

- 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.

Jan's fix did not really work

OBS-URL: https://build.opensuse.org/request/show/1124721
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/shaderc?expand=0&rev=58
This commit is contained in:
Jan Engelhardt 2023-11-09 16:11:36 +00:00 committed by Git OBS Bridge
parent 84b2690f90
commit 7029ca78eb
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