- Add -Wno-error
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=66
This commit is contained in:
parent
8c2be903d4
commit
6181633fc3
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user