summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2023-04-18 11:54:42 +0200
committerMichal Klocek <michal.klocek@qt.io>2023-04-18 10:22:37 +0000
commitaa1b95661252b8ac334a1d29f820ff5db614c232 (patch)
treee037df36e16c86f739bfde0dc5744f45b3884263
parentd15a42baae7141952e91665bed22a7c7cfb54b95 (diff)
Do not allow universal with debug builds
With debug and universal intermediate archives will go over 4GB and linking the final library will fail. Task-number: QTBUG-110713 Change-Id: If3280578b280bb95b85f2126e989da208ffa4eb1 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
-rw-r--r--configure.pri4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.pri b/configure.pri
index e072961f0..3a33bdc82 100644
--- a/configure.pri
+++ b/configure.pri
@@ -460,6 +460,10 @@ defineTest(qtwebengine_isMacOsPlatformSupported) {
qtwebengine_platformError("requires a macOS SDK version of 10.13 or newer. Current version is $${WEBENGINE_OSX_SDK_PRODUCT_VERSION}.")
return(false)
}
+ CONFIG(debug, debug|release):isUniversal(){
+ qtwebengine_platformError("Universal builds can not be done with debug configuration due to large binary size.")
+ return(false)
+ }
return(true)
}