diff options
author | Igor Cota <igor@openbook.hr> | 2021-03-21 16:50:25 +0100 |
---|---|---|
committer | Igor Cota <igor@openbook.hr> | 2021-03-21 22:33:35 +0100 |
commit | 246774e26459cb3652e308880abdd140e8e9d204 (patch) | |
tree | 57588c76696ae6566f742f59dddfa9e9c6073a29 /depends/patches/qt/fix_android_pch.patch | |
parent | 8e7ad4146d55f472e3d1dacaabb6b7dee704a896 (diff) |
depends: fix Qt precompiled headers bug
Fixed in 5.14, see QTBUG-85214
Diffstat (limited to 'depends/patches/qt/fix_android_pch.patch')
-rw-r--r-- | depends/patches/qt/fix_android_pch.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/depends/patches/qt/fix_android_pch.patch b/depends/patches/qt/fix_android_pch.patch new file mode 100644 index 0000000000..bed6e4bb63 --- /dev/null +++ b/depends/patches/qt/fix_android_pch.patch @@ -0,0 +1,10 @@ +--- old/qtbase/mkspecs/common/android-base-head.conf ++++ new/qtbase/mkspecs/common/android-base-head.conf +@@ -73,6 +73,6 @@ CROSS_COMPILE = $$NDK_TOOLCHAIN_PATH/bin/$$NDK_TOOLS_PREFIX- + QMAKE_PCH_OUTPUT_EXT = .gch + + QMAKE_CFLAGS_PRECOMPILE = -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} +-QMAKE_CFLAGS_USE_PRECOMPILE = -include ${QMAKE_PCH_OUTPUT_BASE} ++QMAKE_CFLAGS_USE_PRECOMPILE = -include-pch ${QMAKE_PCH_OUTPUT} + QMAKE_CXXFLAGS_PRECOMPILE = -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} + QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE |