summaryrefslogtreecommitdiffstats
path: root/patches/qt-everywhere-opensource-src-5.6.1-1/0200-ptxdist-qtwebengine-allow-building-with-ptxdsit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/qt-everywhere-opensource-src-5.6.1-1/0200-ptxdist-qtwebengine-allow-building-with-ptxdsit.patch')
-rw-r--r--patches/qt-everywhere-opensource-src-5.6.1-1/0200-ptxdist-qtwebengine-allow-building-with-ptxdsit.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/qt-everywhere-opensource-src-5.6.1-1/0200-ptxdist-qtwebengine-allow-building-with-ptxdsit.patch b/patches/qt-everywhere-opensource-src-5.6.1-1/0200-ptxdist-qtwebengine-allow-building-with-ptxdsit.patch
new file mode 100644
index 000000000..db225cdc6
--- /dev/null
+++ b/patches/qt-everywhere-opensource-src-5.6.1-1/0200-ptxdist-qtwebengine-allow-building-with-ptxdsit.patch
@@ -0,0 +1,22 @@
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Tue, 12 May 2015 11:38:35 +0200
+Subject: [PATCH] ptxdist: qtwebengine: allow building with ptxdsit
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ qtwebengine/tools/qmake/mkspecs/features/functions.prf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/qtwebengine/tools/qmake/mkspecs/features/functions.prf b/qtwebengine/tools/qmake/mkspecs/features/functions.prf
+index 2df689bcad14..d2dc988c0233 100644
+--- a/qtwebengine/tools/qmake/mkspecs/features/functions.prf
++++ b/qtwebengine/tools/qmake/mkspecs/features/functions.prf
+@@ -105,7 +105,7 @@ defineReplace(getChromiumSrcDir) {
+ }
+
+ defineReplace(extractCFlag) {
+- CFLAGS = $$QMAKE_CC $$QMAKE_CFLAGS
++ CFLAGS = $$QMAKE_CC $$QMAKE_CFLAGS $$PTX_QMAKE_CFLAGS
+ OPTION = $$find(CFLAGS, $$1)
+ OPTION = $$split(OPTION, =)
+ return ($$member(OPTION, 1))