diff --git a/glslang.changes b/glslang.changes index f021823..99a485b 100644 --- a/glslang.changes +++ b/glslang.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 2 07:00:29 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Fri Jun 28 07:50:03 UTC 2019 - Jan Engelhardt diff --git a/glslang.spec b/glslang.spec index eb5f6e2..9c19bb4 100644 --- a/glslang.spec +++ b/glslang.spec @@ -72,12 +72,14 @@ compressor's dictionary can find better cross module commonality. %autosetup -p1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects # Trim -Wl,--no-undefined for now (https://github.com/KhronosGroup/glslang/issues/1484) %cmake -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" make %{?_smp_mflags} %install -b="%buildroot" +b="%build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objectsroot" %cmake_install mkdir -p "$b/%_includedir" cp -a SPIRV glslang "$b/%_includedir/"