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:
commit
0d311901ca
@ -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>
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user