From d7c2d16c289887ad78f8e8bbc6da219d2bfefad4 Mon Sep 17 00:00:00 2001 From: Michael Fox Date: Mon, 11 Jan 2016 10:01:34 +0300 Subject: [PATCH] Enable build with musl libc * include/private/gcconfig.h (NO_GETCONTEXT): Define if __gnu_linux__ undefined (in case of LINUX is defined). --- include/private/gcconfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index ca42efa8..1aa49230 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -2801,7 +2801,7 @@ || defined(OPENBSD) || defined(ARM32) \ || defined(MIPS) || defined(AVR32) \ || defined(OR1K))) \ - || (defined(LINUX) && (defined(SPARC) || defined(M68K))) \ + || (defined(LINUX) && !defined(__gnu_linux__)) \ || (defined(RTEMS) && defined(I386)) || defined(PLATFORM_ANDROID)) \ && !defined(NO_GETCONTEXT) # define NO_GETCONTEXT -- 2.40.0