diff mbox

[5/5] config/gcc: Disable CC_GCC_LIBSANITIZER for musl-libc

Message ID 1409898843-14901-6-git-send-email-bryanhundven@gmail.com
State Accepted
Headers show

Commit Message

Bryan Hundven Sept. 5, 2014, 6:34 a.m. UTC
Disable libsanitizer for musl-libc.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
---
 config/cc/gcc.in.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
index 1b9515c..b088515 100644
--- a/config/cc/gcc.in.2
+++ b/config/cc/gcc.in.2
@@ -148,7 +148,7 @@  config CC_GCC_LIBSANITIZER
     prompt "Compile libsanitizer"
     depends on CC_GCC_HAS_LIBSANITIZER
     depends on THREADS_NATIVE
-    depends on ! LIBC_uClibc # Currently lacks required headers (like netrom.h)
+    depends on ! LIBC_uClibc && ! LIBC_musl # Currently lacks required headers (like netrom.h)
     help
       libsanitizer is a library which provides run-time sanitising of either
       or both of: