From 81563952ad47707b9fdf9c5f4858640835a43d84 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Sat, 26 Apr 2014 21:50:07 +0400 Subject: [PATCH] Fix build (broken by fenv.h inclusion) on Linux/x86_64 under uClibc * include/private/gcconfig.h (GETCONTEXT_FPU_EXCMASK_BUG): Do not define for uClibc, as it may not have fenv.h. --- 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 de7998be..f866cc4e 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -2235,7 +2235,7 @@ extern int etext[]; # define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff)) # endif -# if defined(__GLIBC__) +# if defined(__GLIBC__) && !defined(__UCLIBC__) /* At present, there's a bug in GLibc getcontext() on */ /* Linux/x64 (it clears FPU exception mask). We define this */ /* macro to workaround it. */ -- 2.40.0