From f133b226cdf4f2736b412bb642b45d43cb84f51d Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Wed, 3 Jun 2020 13:06:01 +0300 Subject: qmake: Stop using -isystem flag This option changes the order of include paths, which can cause problems of various kinds. See https://bugs.debian.org/958479 for an example. The benefit of that option is minimal for what it was intended. Pick-to: 5.15 5.12 Change-Id: I80eeabd09764df290b60bc59aeb2f90d07723608 Reviewed-by: Thiago Macieira --- mkspecs/common/clang.conf | 1 - 1 file changed, 1 deletion(-) (limited to 'mkspecs/common/clang.conf') diff --git a/mkspecs/common/clang.conf b/mkspecs/common/clang.conf index 2499c8b6d8..dad15a22a8 100644 --- a/mkspecs/common/clang.conf +++ b/mkspecs/common/clang.conf @@ -18,7 +18,6 @@ QMAKE_PCH_OUTPUT_EXT = .pch QMAKE_CFLAGS_OPTIMIZE_SIZE = -Oz -QMAKE_CFLAGS_ISYSTEM = -isystem QMAKE_CFLAGS_PRECOMPILE = -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} QMAKE_CFLAGS_USE_PRECOMPILE = -Xclang -include-pch -Xclang ${QMAKE_PCH_OUTPUT} QMAKE_CFLAGS_LTCG = -flto=thin -- cgit v1.2.3