Jan Engelhardt 2021-02-10 11:52:51 +00:00 committed by Git OBS Bridge
parent 40a5b2e8c2
commit 194430dce0

View File

@ -69,8 +69,6 @@ integration into other code bases directly.
%autosetup -p1 -n SPIRV-Tools-%version %autosetup -p1 -n SPIRV-Tools-%version
%build %build
# silence false positive
export CFLAGS="%optflags -Wno-error=stringop-overflow" CXXFLAGS="$CFLAGS"
%cmake -DSPIRV-Headers_SOURCE_DIR="%_prefix" \ %cmake -DSPIRV-Headers_SOURCE_DIR="%_prefix" \
-DSPIRV_TOOLS_BUILD_STATIC:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON -DSPIRV_TOOLS_BUILD_STATIC:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON
%cmake_build %cmake_build