diff mbox

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

Message ID 1409864217-17035-5-git-send-email-bryanhundven@gmail.com
State Superseded
Headers show

Commit Message

Bryan Hundven Sept. 4, 2014, 8:56 p.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: