Jan Engelhardt 2021-03-18 14:20:36 +00:00 committed by Git OBS Bridge
parent 8c2be903d4
commit 6181633fc3
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 18 14:20:22 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Add -Wno-error
-------------------------------------------------------------------
Thu Mar 11 14:00:16 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

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