diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2019-01-08 14:51:33 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2019-03-07 23:54:18 +0000 |
commit | 92c34de4bb11223c059466d3d0690eb763a56102 (patch) | |
tree | c54b1e4f821a2716da4f35eefa9f834a44af549a /recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch | |
parent | e117b58d16ead9debac214bfce9a44817975c427 (diff) | |
download | meta-qt5-92c34de4bb11223c059466d3d0690eb763a56102.tar.gz |
qt5: cleanup mkspecs
QMAKE_COMPILER is not meant to be the actual compiler, but a compiler
type (gcc, clang, mingw). For both mkspecs it's already set in the
common includes. Remove wayland and debug settings from the clang
mkspec as they are already removed from the gcc mkspec.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch')
-rw-r--r-- | recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch b/recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch index 664767dd..5a9eb404 100644 --- a/recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch +++ b/recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch | |||
@@ -1,22 +1,22 @@ | |||
1 | From 12d00d903a16dba6f7aad0f4652addbd395765fe Mon Sep 17 00:00:00 2001 | 1 | From 289f366363eeca03c27fd718c8b3ae53dcc28586 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 3 Sep 2017 09:11:44 -0700 | 3 | Date: Sun, 3 Sep 2017 09:11:44 -0700 |
4 | Subject: [PATCH] Add OE specific specs for clang compiler | 4 | Subject: [PATCH] Add OE specific specs for clang compiler |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 7 | --- |
8 | mkspecs/linux-oe-clang/qmake.conf | 42 ++++++++++++++++++++++++++ | 8 | mkspecs/linux-oe-clang/qmake.conf | 39 ++++++++++++++++++++++++++ |
9 | mkspecs/linux-oe-clang/qplatformdefs.h | 1 + | 9 | mkspecs/linux-oe-clang/qplatformdefs.h | 1 + |
10 | 2 files changed, 43 insertions(+) | 10 | 2 files changed, 40 insertions(+) |
11 | create mode 100644 mkspecs/linux-oe-clang/qmake.conf | 11 | create mode 100644 mkspecs/linux-oe-clang/qmake.conf |
12 | create mode 100644 mkspecs/linux-oe-clang/qplatformdefs.h | 12 | create mode 100644 mkspecs/linux-oe-clang/qplatformdefs.h |
13 | 13 | ||
14 | diff --git a/mkspecs/linux-oe-clang/qmake.conf b/mkspecs/linux-oe-clang/qmake.conf | 14 | diff --git a/mkspecs/linux-oe-clang/qmake.conf b/mkspecs/linux-oe-clang/qmake.conf |
15 | new file mode 100644 | 15 | new file mode 100644 |
16 | index 0000000000..443d4b0dff | 16 | index 00000000000..db02ab5215f |
17 | --- /dev/null | 17 | --- /dev/null |
18 | +++ b/mkspecs/linux-oe-clang/qmake.conf | 18 | +++ b/mkspecs/linux-oe-clang/qmake.conf |
19 | @@ -0,0 +1,42 @@ | 19 | @@ -0,0 +1,39 @@ |
20 | +# | 20 | +# |
21 | +# qmake configuration for linux-g++ with modifications for building with OpenEmbedded | 21 | +# qmake configuration for linux-g++ with modifications for building with OpenEmbedded |
22 | +# | 22 | +# |
@@ -41,12 +41,9 @@ index 0000000000..443d4b0dff | |||
41 | +include(../common/clang.conf) | 41 | +include(../common/clang.conf) |
42 | + | 42 | + |
43 | +# tc settings from g++-base.conf | 43 | +# tc settings from g++-base.conf |
44 | +QMAKE_COMPILER = $$(OE_QMAKE_COMPILER) clang | ||
45 | +QMAKE_CC = $$(OE_QMAKE_CC) | 44 | +QMAKE_CC = $$(OE_QMAKE_CC) |
46 | +QMAKE_CXX = $$(OE_QMAKE_CXX) | 45 | +QMAKE_CXX = $$(OE_QMAKE_CXX) |
47 | + | 46 | + |
48 | +QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$(OE_QMAKE_CFLAGS) | ||
49 | + | ||
50 | +QMAKE_LINK = $$(OE_QMAKE_LINK) | 47 | +QMAKE_LINK = $$(OE_QMAKE_LINK) |
51 | +QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK) | 48 | +QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK) |
52 | +QMAKE_LINK_C = $$(OE_QMAKE_LINK) | 49 | +QMAKE_LINK_C = $$(OE_QMAKE_LINK) |
@@ -61,7 +58,7 @@ index 0000000000..443d4b0dff | |||
61 | +load(qt_config) | 58 | +load(qt_config) |
62 | diff --git a/mkspecs/linux-oe-clang/qplatformdefs.h b/mkspecs/linux-oe-clang/qplatformdefs.h | 59 | diff --git a/mkspecs/linux-oe-clang/qplatformdefs.h b/mkspecs/linux-oe-clang/qplatformdefs.h |
63 | new file mode 100644 | 60 | new file mode 100644 |
64 | index 0000000000..880c927b21 | 61 | index 00000000000..880c927b218 |
65 | --- /dev/null | 62 | --- /dev/null |
66 | +++ b/mkspecs/linux-oe-clang/qplatformdefs.h | 63 | +++ b/mkspecs/linux-oe-clang/qplatformdefs.h |
67 | @@ -0,0 +1 @@ | 64 | @@ -0,0 +1 @@ |