Accepting request 879908 from X11:Wayland

- Add -Wno-error [boo#1181882]

OBS-URL: https://build.opensuse.org/request/show/879908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spirv-tools?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2021-03-24 15:09:10 +00:00 committed by Git OBS Bridge
commit ca00590324
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