From 7029ca78ebffd4df627a7c098f0d91c8b5942234c52bbea012fbd25204fe1d63 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 9 Nov 2023 16:11:36 +0000 Subject: [PATCH] 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 --- shaderc.changes | 7 +++++++ shaderc.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/shaderc.changes b/shaderc.changes index 8a87157..2cd8ccd 100644 --- a/shaderc.changes +++ b/shaderc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Nov 9 15:46:07 UTC 2023 - Dominique Leuenberger + +- 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 diff --git a/shaderc.spec b/shaderc.spec index 3992972..bb2bdf1 100644 --- a/shaderc.spec +++ b/shaderc.spec @@ -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