rocko migration: qt5: update recipe
This new version of Qt already has a flag for optimizing for size, so remove the patch and use this flag instead. https://jira.digi.com/browse/DEL-5518 Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
This commit is contained in:
parent
0307d0c975
commit
272fadb082
|
|
@ -1,24 +0,0 @@
|
||||||
From: Javier Viguera <javier.viguera@digi.com>
|
|
||||||
Date: Thu, 3 Aug 2017 15:21:21 +0200
|
|
||||||
Subject: [PATCH] gcc-base.conf: optimize for size
|
|
||||||
|
|
||||||
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
|
|
||||||
---
|
|
||||||
mkspecs/common/gcc-base.conf | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/mkspecs/common/gcc-base.conf b/mkspecs/common/gcc-base.conf
|
|
||||||
index 6e043f558f1c..e77fb93326d4 100644
|
|
||||||
--- a/mkspecs/common/gcc-base.conf
|
|
||||||
+++ b/mkspecs/common/gcc-base.conf
|
|
||||||
@@ -31,8 +31,8 @@
|
|
||||||
# you can use the manual test in tests/manual/mkspecs.
|
|
||||||
#
|
|
||||||
|
|
||||||
-QMAKE_CFLAGS_OPTIMIZE = -O2
|
|
||||||
-QMAKE_CFLAGS_OPTIMIZE_FULL = -O3
|
|
||||||
+QMAKE_CFLAGS_OPTIMIZE = -Os
|
|
||||||
+QMAKE_CFLAGS_OPTIMIZE_FULL = -Os
|
|
||||||
|
|
||||||
QMAKE_CFLAGS += -pipe
|
|
||||||
QMAKE_CFLAGS_DEPS += -M
|
|
||||||
|
|
@ -3,12 +3,13 @@
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
||||||
|
|
||||||
SRC_URI_append = " file://qt5.sh"
|
SRC_URI_append = " file://qt5.sh"
|
||||||
SRC_URI_append_ccimx6ul = " file://0001-gcc-base.conf-optimize-for-size.patch"
|
|
||||||
|
|
||||||
PACKAGECONFIG_append = " accessibility examples fontconfig sql-sqlite"
|
PACKAGECONFIG_append = " accessibility examples fontconfig sql-sqlite"
|
||||||
PACKAGECONFIG_append_ccimx6 = " icu"
|
PACKAGECONFIG_append_ccimx6 = " icu"
|
||||||
PACKAGECONFIG_append_ccimx6ul = " linuxfb"
|
PACKAGECONFIG_append_ccimx6ul = " linuxfb"
|
||||||
|
|
||||||
|
QT_CONFIG_FLAGS += " -optimize-size"
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}${sysconfdir}/profile.d
|
install -d ${D}${sysconfdir}/profile.d
|
||||||
install -m 0755 ${WORKDIR}/qt5.sh ${D}${sysconfdir}/profile.d/
|
install -m 0755 ${WORKDIR}/qt5.sh ${D}${sysconfdir}/profile.d/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue