From 73b964b535bf1a2423613ec97a9d0af038e4c853 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 2 Jul 2018 13:48:49 +0300 Subject: qt5: Enable Link Time Optimization Build qtbase and rest of the modules with Link Time Optimization that significantly improves performance and reduces binary sizes. Task-number: QTBUG-68688 Change-Id: Ia6b73b063c65a719549b26adaf1d67f94cae65a6 Reviewed-by: Kari Oikarinen --- meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend | 4 ++++ scripts/manifest.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend index 5f62fbb..f24556e 100644 --- a/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend +++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend @@ -44,6 +44,7 @@ PACKAGECONFIG += " \ icu \ libinput \ linuxfb \ + ltcg \ sql-sqlite \ tslib \ xkbcommon-evdev \ @@ -51,6 +52,9 @@ PACKAGECONFIG += " \ PACKAGECONFIG_remove = "tests" +# Disable on emulator due to QTBUG-69252 +PACKAGECONFIG_remove_emulator = "ltcg" + FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += " \ diff --git a/scripts/manifest.xml b/scripts/manifest.xml index d5b25d7..c5f4e59 100644 --- a/scripts/manifest.xml +++ b/scripts/manifest.xml @@ -26,7 +26,7 @@ path="sources/meta-openembedded"/>