PKGBUILDs/qt5-base/mingw-w64-angle/0020-Disable-determing-defa...

27 lines
835 B
Diff
Raw Normal View History

2017-06-30 22:27:38 +02:00
From 8dda97434f6aa975741278347f873f479bf856c0 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:20:25 +0200
2017-06-02 18:20:04 +02:00
Subject: [PATCH 20/31] Disable determing default include and lib dirs at qmake
time when building with mingw-w64
---
2016-12-20 23:05:26 +01:00
mkspecs/features/toolchain.prf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2016-12-20 23:05:26 +01:00
diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf
2017-06-30 22:27:38 +02:00
index 34bd8f1d78..9e5f361d16 100644
2016-12-20 23:05:26 +01:00
--- a/mkspecs/features/toolchain.prf
+++ b/mkspecs/features/toolchain.prf
2017-06-02 18:20:04 +02:00
@@ -21,7 +21,7 @@ isEmpty($${target_prefix}.INCDIRS) {
#
# Get default include and library paths from compiler
#
- gcc {
+ !win32:gcc {
2016-12-20 23:05:26 +01:00
!equals(QMAKE_HOST.os, Windows) {
cmd_prefix = "LC_ALL=C"
cmd_suffix = "</dev/null >/dev/null"
--
2017-06-30 22:27:38 +02:00
2.13.2