fix build

This commit is contained in:
leigh123linux 2018-04-24 01:17:26 +01:00
parent 703973b687
commit b41ada54d8

View File

@ -1,6 +1,6 @@
%global commit 3bb4c48cd95892a5cfcd63df20fcc47fd51c97a0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20180205
%global commit_date 20180416
%global gitrel .%{commit_date}.git%{shortcommit}
Name: glslang
@ -44,6 +44,7 @@ pushd build
%cmake3 -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
-DCMAKE_SKIP_RPATH:BOOL=yes \
-DBUILD_SHARED_LIBS=OFF \
-GNinja ..
%{ninja_build}
popd
@ -78,7 +79,7 @@ install -pm 0644 build/StandAlone/libglslang-default-resource-limits.a %{buildro
%{_libdir}/libglslang-default-resource-limits.a
%changelog
* Mon Apr 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.1-0.8.20180205.git3bb4c48
* Mon Apr 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.1-0.8.20180416.git3bb4c48
- Update for vulkan 1.1.73.0
* Wed Mar 07 2018 Adam Williamson <awilliam@redhat.com> - 3.1-0.7.20180205.git2651cca