diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-09-24 03:24:19 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2018-09-25 09:50:40 +0000 |
commit | d0cd7a7a70d3fe3b3041d41391c5c082d8f23a0d (patch) | |
tree | 727231310f8a41b47e8c5697f33df0266c8ce9a2 /recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch | |
parent | 81239229dfda6d9a4b72dc44245fdfb9f10e6fcb (diff) | |
download | meta-qt5-d0cd7a7a70d3fe3b3041d41391c5c082d8f23a0d.tar.gz |
qtbase: Fix errors due to -isystem
empty out QMAKE_CFLAGS_ISYSTEM this will ensure that -isystem is not
used instead it will use -I to include internal QT headers
Dont hardcode QMAKE_DEFAULT_INCDIRS when cross compile
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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 | 6 |
1 files changed, 3 insertions, 3 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 c5586852..ca74f0f7 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,4 +1,4 @@ | |||
1 | From 563e954aaa4cf82560f157af79344c4b7cb7ca6d Mon Sep 17 00:00:00 2001 | 1 | From 51bc56305205a154db22c1373eb19d835ba2c64e 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 |
@@ -13,7 +13,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
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..ffc9f051db | 16 | index 0000000000..b0a5630fdd |
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,43 @@ | 19 | @@ -0,0 +1,43 @@ |
@@ -52,7 +52,7 @@ index 0000000000..ffc9f051db | |||
52 | +QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK) | 52 | +QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK) |
53 | +QMAKE_LINK_C = $$(OE_QMAKE_LINK) | 53 | +QMAKE_LINK_C = $$(OE_QMAKE_LINK) |
54 | +QMAKE_LINK_C_SHLIB = $$(OE_QMAKE_LINK) | 54 | +QMAKE_LINK_C_SHLIB = $$(OE_QMAKE_LINK) |
55 | + | 55 | +QMAKE_CFLAGS_ISYSTEM = |
56 | +# for the SDK | 56 | +# for the SDK |
57 | +isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $$(OE_QMAKE_QT_CONFIG) | 57 | +isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $$(OE_QMAKE_QT_CONFIG) |
58 | + | 58 | + |