From 1c20edb86115ecf788f64cb8563b85129c7a669d Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Fri, 25 Sep 2015 17:43:49 +0200 Subject: ECMEnableSanitizers: The undefined sanitizer is supported by gcc 4.9 --- modules/ECMEnableSanitizers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ECMEnableSanitizers.cmake b/modules/ECMEnableSanitizers.cmake index d55b2525..e64599b6 100644 --- a/modules/ECMEnableSanitizers.cmake +++ b/modules/ECMEnableSanitizers.cmake @@ -125,7 +125,7 @@ macro (enable_sanitizer_flags sanitize_option) set(XSAN_COMPILE_FLAGS "-fsanitize=leak") set(XSAN_LINKER_FLAGS "lsan") elseif (${sanitize_option} MATCHES "undefined") - check_compiler_version("99.99" "3.1") + check_compiler_version("4.9" "3.1") set(XSAN_COMPILE_FLAGS "-fsanitize=undefined -fno-omit-frame-pointer -fno-optimize-sibling-calls") else () message(FATAL_ERROR "Compiler sanitizer option \"${sanitize_option}\" not supported.") -- cgit v1.2.1