summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/configure.prf
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2017-09-13 11:09:20 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-09-18 22:16:59 +0000
commit6347e3195c6934c0f3aa4668a55a285336dd407a (patch)
tree543b6f98de58af3ef804d10be178b2346e2f40a6 /mkspecs/features/configure.prf
parent4dd764a9a005dcd9a7e9643e7337b787519ad113 (diff)
Move webengine sanitizer option to new configure system
Use new configure system to enable sanitizer. Change-Id: I633bc96973b9b9bcd56c4ef03a589e147215dc86 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'mkspecs/features/configure.prf')
-rw-r--r--mkspecs/features/configure.prf5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
index 79b54daba..e21767565 100644
--- a/mkspecs/features/configure.prf
+++ b/mkspecs/features/configure.prf
@@ -53,6 +53,11 @@ defineTest(runConfigure) {
qtConfig(embedded): WEBENGINE_CONFIG += reduce_binary_size
}
+ sanitizer: !qtConfig(webengine-sanitizer) {
+ skipBuild("Chosen sanitizer configuration is not supported. Use --feature-webengine-sanitizer=yes to force build with the chosen sanitizer configuration.")
+ return(false);
+ }
+
linux {
!qtConfig(system-glibc) {
skipBuild("A suitable version of libc could not be found. See: https://sourceware.org/bugzilla/show_bug.cgi?id=14898")