SHA256
1
0
forked from pool/glslang

Accepting request 769517 from X11:Wayland

OBS-URL: https://build.opensuse.org/request/show/769517
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glslang?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2020-02-09 20:01:37 +00:00 committed by Git OBS Bridge
commit 0d311901ca
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 3 10:09:18 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
- Fix build when _lto_cflags is not defined (as in SLE/Leap)
-------------------------------------------------------------------
Sun Jan 19 11:38:09 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -74,7 +74,7 @@ compressor's dictionary can find better cross module commonality.
%autosetup -p1
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%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}