fix broken submit rq720447

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=51
This commit is contained in:
Jan Engelhardt 2019-08-11 11:55:21 +00:00 committed by Git OBS Bridge
parent 493e1e35ea
commit b905058b0b

View File

@ -78,9 +78,9 @@ compressor's dictionary can find better cross module commonality.
make %{?_smp_mflags}
%install
b="%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objectsroot"
%cmake_install
b="%buildroot"
mkdir -p "$b/%_includedir"
cp -a SPIRV glslang "$b/%_includedir/"
find "$b/%_includedir/" -type f ! -iname "*.h" -a ! -iname "*.hpp" -print -delete