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 /meta-boot2qt-distro/recipes-qt | |
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>
Diffstat (limited to 'meta-boot2qt-distro/recipes-qt')
-rw-r--r-- | meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend | 4 |
1 files changed, 4 insertions, 0 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 += " \ |