diff options
Diffstat (limited to 'patches/qt-everywhere-src-5.12.2/0104-ptxdist-qtwebengine-allow-building-with-ptxdist.patch')
-rw-r--r-- | patches/qt-everywhere-src-5.12.2/0104-ptxdist-qtwebengine-allow-building-with-ptxdist.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/qt-everywhere-src-5.12.2/0104-ptxdist-qtwebengine-allow-building-with-ptxdist.patch b/patches/qt-everywhere-src-5.12.2/0104-ptxdist-qtwebengine-allow-building-with-ptxdist.patch new file mode 100644 index 000000000..0a33b37a5 --- /dev/null +++ b/patches/qt-everywhere-src-5.12.2/0104-ptxdist-qtwebengine-allow-building-with-ptxdist.patch @@ -0,0 +1,21 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Tue, 12 May 2015 11:38:35 +0200 +Subject: [PATCH] ptxdist: qtwebengine: allow building with ptxdist + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + qtwebengine/src/core/config/functions.pri | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/qtwebengine/src/core/config/functions.pri b/qtwebengine/src/core/config/functions.pri +index 8c11faa16ad2..876da9bcfb9e 100644 +--- a/qtwebengine/src/core/config/functions.pri ++++ b/qtwebengine/src/core/config/functions.pri +@@ -1,5 +1,6 @@ + defineReplace(qtwebengine_extractCFlag) { +- CFLAGS = $$QMAKE_CC $$QMAKE_CFLAGS ++ PTX_QMAKE_CFLAGS = $$(PTX_QMAKE_CFLAGS) ++ CFLAGS = $$QMAKE_CC $$QMAKE_CFLAGS $$split(PTX_QMAKE_CFLAGS, " ") + OPTION = $$find(CFLAGS, $$1) + OPTION = $$split(OPTION, =) + PARAM = $$member(OPTION, 1) |