mirror of https://github.com/bitcoin/bitcoin
Merge bitcoin/bitcoin#23618: build, qt: Ditch `no_sdk_version_check.patch`
pull/23505/head855bd75503
build, qt: Ditch `no_sdk_version_check.patch` (Hennadii Stepanov) Pull request description: Since Qt 5.12.2 (see5d181961ea
) it is possible to control whether to check macOS SDK with the `QT_MAC_SDK_NO_VERSION_CHECK` variable. ACKs for top commit: fanquake: ACK855bd75503
Tree-SHA512: e490f22da9c37d25b58418ca62e65d2303cfbd83139f4abea4b67c37fa97e9a882ccc9d484b49cd2bb3a8851ea35e63123d3c6db7f804d6b50f41b10bd10c10b
commit
29074ba836
@ -1,20 +0,0 @@
|
||||
commit f5eb142cd04be2bc4ca610ed3b5b7e8ce3520ee3
|
||||
Author: fanquake <fanquake@gmail.com>
|
||||
Date: Tue Jan 5 16:08:49 2021 +0800
|
||||
|
||||
Don't invoke macOS SDK version checking
|
||||
|
||||
This tries to use xcrun which is not available when cross-compiling.
|
||||
|
||||
diff --git a/qtbase/mkspecs/features/mac/default_post.prf b/qtbase/mkspecs/features/mac/default_post.prf
|
||||
index 92a9112bca6..447e186eb26 100644
|
||||
--- a/qtbase/mkspecs/features/mac/default_post.prf
|
||||
+++ b/qtbase/mkspecs/features/mac/default_post.prf
|
||||
@@ -8,7 +8,6 @@ contains(TEMPLATE, .*app) {
|
||||
!macx-xcode:if(isEmpty(BUILDS)|build_pass) {
|
||||
# Detect changes to the platform SDK
|
||||
QMAKE_EXTRA_VARIABLES += QMAKE_MAC_SDK QMAKE_MAC_SDK_VERSION QMAKE_XCODE_DEVELOPER_PATH
|
||||
- QMAKE_EXTRA_INCLUDES += $$shell_quote($$PWD/sdk.mk)
|
||||
}
|
||||
|
||||
# Detect incompatible SDK versions
|
Loading…
Reference in new issue