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:
parent
84b2690f90
commit
7029ca78eb
@ -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>
|
Thu Nov 2 18:07:38 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ chmod a+x utils/update_build_version.sh
|
|||||||
echo "\"%version\"" >glslc/src/build-version.inc
|
echo "\"%version\"" >glslc/src/build-version.inc
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CPPFLAGS="-I%_includedir/External"
|
export CXXFLAGS="%{optflags} -I%_includedir/External"
|
||||||
%cmake -DSHADERC_SKIP_TESTS=ON
|
%cmake -DSHADERC_SKIP_TESTS=ON
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user