forked from pool/spirv-tools
This commit is contained in:
parent
40a5b2e8c2
commit
194430dce0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user