diff --git a/spirv-tools.changes b/spirv-tools.changes index bb83f00..d17063f 100644 --- a/spirv-tools.changes +++ b/spirv-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 18 14:20:22 UTC 2021 - Jan Engelhardt + +- Add -Wno-error + ------------------------------------------------------------------- Thu Mar 11 14:00:16 UTC 2021 - Jan Engelhardt diff --git a/spirv-tools.spec b/spirv-tools.spec index 9ed3608..c9748e5 100644 --- a/spirv-tools.spec +++ b/spirv-tools.spec @@ -68,6 +68,7 @@ integration into other code bases directly. %autosetup -p1 -n SPIRV-Tools-%version %build +export CXXFLAGS="%optflags -Wno-error=stringop-truncation" %cmake -DSPIRV-Headers_SOURCE_DIR="%_prefix" \ -DSPIRV_TOOLS_BUILD_STATIC:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON %cmake_build