From dfa7faf459634501a7b76944ad264d5959f14615 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Tue, 10 Mar 2020 06:39:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D1=80=D0=B0=D0=B2=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmake/sanitize-helpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/sanitize-helpers.cmake b/cmake/sanitize-helpers.cmake index c979616..d4e3409 100644 --- a/cmake/sanitize-helpers.cmake +++ b/cmake/sanitize-helpers.cmake @@ -132,7 +132,7 @@ function (sanitizer_check_compiler_flags FLAG_CANDIDATES NAME PREFIX) if (${PREFIX}_FLAG_DETECTED) # If compiler is a GNU compiler, search for static flag, if # SANITIZE_LINK_STATIC is enabled. - if (SANITIZE_LINK_STATIC AND (${COMPILER} STREQUAL "GNU")) + if (SANITIZE_LINK_STATIC AND (COMPILER STREQUAL "GNU")) string(TOLOWER ${PREFIX} PREFIX_lower) sanitizer_check_compiler_flag( "-static-lib${PREFIX_lower}" ${LANG}