1
0
xorg-x11-server/u_no-lto-for-tests.patch
Stefan Dirsch 58083d1531 - reenabled LTO (boo#1133294)
* u_no-lto-for-tests.patch 
    disables LTO in test/ subtree, since "-Wl,-wrap" is not supported by LTO
  * added "%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects"

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=787
2021-03-03 11:15:52 +00:00

11 lines
302 B
Diff

--- xserver-1.20.10/test/Makefile.am.orig 2021-03-02 23:46:49.137916000 +0100
+++ xserver-1.20.10/test/Makefile.am 2021-03-02 23:47:48.691663000 +0100
@@ -105,6 +105,7 @@ tests_LDFLAGS = \
-Wl,-wrap,XISetEventMask \
-Wl,-wrap,AddResource \
-Wl,-wrap,GrabButton \
+ -fno-lto \
$()
endif XORG