Accepting request 769503 from home:alarrosa:branches:X11:Wayland
- Fix build when _lto_cflags is not defined (as in SLE/Leap) OBS-URL: https://build.opensuse.org/request/show/769503 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=67
This commit is contained in:
parent
b7375e6fb4
commit
769485a2ad
@ -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