diff options
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0001-functions.prf-allow-build-for-linux-oe-g-platform.patch')
-rw-r--r-- | recipes-qt/qt5/qtwebengine/0001-functions.prf-allow-build-for-linux-oe-g-platform.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0001-functions.prf-allow-build-for-linux-oe-g-platform.patch b/recipes-qt/qt5/qtwebengine/0001-functions.prf-allow-build-for-linux-oe-g-platform.patch new file mode 100644 index 00000000..a91a2982 --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/0001-functions.prf-allow-build-for-linux-oe-g-platform.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 491576d7e67d00b93106592140e5d7f0f34ea641 Mon Sep 17 00:00:00 2001 | ||
2 | From: Frieder Schrempf <frieder.schrempf@online.de> | ||
3 | Date: Mon, 1 Dec 2014 14:34:40 +0000 | ||
4 | Subject: [PATCH] functions.prf: allow build for linux-oe-g++ platform | ||
5 | |||
6 | Upstream-Status: Inappropriate [OE specific] | ||
7 | |||
8 | Signed-off-by: Frieder Schrempf <frieder.schrempf@online.de> | ||
9 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
10 | --- | ||
11 | mkspecs/features/functions.prf | 6 ++++++ | ||
12 | 1 file changed, 6 insertions(+) | ||
13 | |||
14 | diff --git a/mkspecs/features/functions.prf b/mkspecs/features/functions.prf | ||
15 | index eb421f8b..4513742d 100644 | ||
16 | --- a/mkspecs/features/functions.prf | ||
17 | +++ b/mkspecs/features/functions.prf | ||
18 | @@ -33,6 +33,12 @@ defineTest(isPlatformSupported) { | ||
19 | return(false) | ||
20 | } | ||
21 | gcc:!clang:!isGCCVersionSupported(): return(false) | ||
22 | + } else:linux-oe-g++* { | ||
23 | + !gcc:!clang { | ||
24 | + skipBuild("Qt WebEngine on Linux requires clang or GCC.") | ||
25 | + return(false) | ||
26 | + } | ||
27 | + gcc:!clang:!isGCCVersionSupported(): return(false) | ||
28 | } else:win32 { | ||
29 | winrt { | ||
30 | skipBuild("WinRT is not supported.") | ||