15.3 build
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=105
This commit is contained in:
parent
faaa6ef3ec
commit
ad1f9fd19f
@ -75,6 +75,14 @@ perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt
|
||||
|
||||
%build
|
||||
%limit_build -m 2000
|
||||
# C++ <thread> needs -lpthread for pthread_create
|
||||
# (under glibc>=2.34 it's not strictly needed anymore due to symbol move)
|
||||
cat >gxx <<-EOF
|
||||
#!/bin/sh
|
||||
exec g++ "\$@" -lpthread
|
||||
EOF
|
||||
chmod a+x gxx
|
||||
export CXX="$PWD/gxx"
|
||||
%cmake -DGLSLANG_INSTALL_DIR="%_bindir" \
|
||||
-DSPIRV_HEADERS_INSTALL_DIR="%_includedir" \
|
||||
-DBUILD_LAYER_SUPPORT_FILES=ON \
|
||||
|
Loading…
Reference in New Issue
Block a user