diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2018-07-02 13:48:49 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2018-07-03 12:10:42 +0000 |
commit | 73b964b535bf1a2423613ec97a9d0af038e4c853 (patch) | |
tree | 92b3349075a1d94f0ea4110cdfaf0c8b42842641 | |
parent | 23f38cdcffc0cde7345dd88976b066896e537a89 (diff) | |
download | meta-boot2qt-73b964b535bf1a2423613ec97a9d0af038e4c853.tar.gz |
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 <kari.oikarinen@qt.io>
-rw-r--r-- | meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend | 4 | ||||
-rw-r--r-- | scripts/manifest.xml | 2 |
2 files changed, 5 insertions, 1 deletions
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 += " \ | |||
44 | icu \ | 44 | icu \ |
45 | libinput \ | 45 | libinput \ |
46 | linuxfb \ | 46 | linuxfb \ |
47 | ltcg \ | ||
47 | sql-sqlite \ | 48 | sql-sqlite \ |
48 | tslib \ | 49 | tslib \ |
49 | xkbcommon-evdev \ | 50 | xkbcommon-evdev \ |
@@ -51,6 +52,9 @@ PACKAGECONFIG += " \ | |||
51 | 52 | ||
52 | PACKAGECONFIG_remove = "tests" | 53 | PACKAGECONFIG_remove = "tests" |
53 | 54 | ||
55 | # Disable on emulator due to QTBUG-69252 | ||
56 | PACKAGECONFIG_remove_emulator = "ltcg" | ||
57 | |||
54 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 58 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
55 | 59 | ||
56 | SRC_URI += " \ | 60 | 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 @@ | |||
26 | path="sources/meta-openembedded"/> | 26 | path="sources/meta-openembedded"/> |
27 | <project name="meta-qt5" | 27 | <project name="meta-qt5" |
28 | remote="qtyocto" | 28 | remote="qtyocto" |
29 | revision="5a1ae484fa523568dd9c47f08c25ef336c2626fb" | 29 | revision="54ff6c13316cc975852c9712d7086de5ff32da6a" |
30 | path="sources/meta-qt5"/> | 30 | path="sources/meta-qt5"/> |
31 | <project name="meta-mingw" | 31 | <project name="meta-mingw" |
32 | remote="qtyocto" | 32 | remote="qtyocto" |