[tracker-miners/tracker-miners-2.2: 46/47] ci: Enable link-time optimization



commit 42d04149ad4ac1444eb5a104eb487f360ea479d1
Author: Sam Thursfield <sam afuera me uk>
Date:   Mon Jul 15 00:36:16 2019 +0100

    ci: Enable link-time optimization
    
    This should help us to avoid regressions like
    https://gitlab.gnome.org/GNOME/tracker/issues/117

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bbc9f52d1..cc3321388 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,7 @@ test-fedora-latest:
     # that Tracker is installed on the host here, thanks to `dnf builddep`.
     - su tracker -c 'mkdir subprojects; cd subprojects; git clone https://gitlab.gnome.org/GNOME/tracker'
     - su tracker -c 'mkdir build'
-    - su tracker -c 'cd build; meson .. --prefix=/usr -Dtracker_core=subproject'
+    - su tracker -c 'cd build; meson .. --prefix=/usr -Dtracker_core=subproject -Db_lto=true'
     - su tracker -c 'cd build; ninja'
     - |
       # Remove the many "CI_" variables from the environment. Meson dumps the


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]