[tracker/sam/lto-fix: 2/2] ci: Enable link-time optimization



commit 24287b896a517ce84ae820a49afb6f8e963b7928
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Jul 14 23:56:47 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 028768279..87e32d5ee 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@ test-fedora-latest:
 
   script:
     - su tracker -c 'mkdir build'
-    - su tracker -c 'cd build; meson ..'
+    - su tracker -c 'cd build; meson .. -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]