summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <stanshebs@google.com>2020-01-24 08:16:04 -0800
committerFangrui Song <i@maskray.me>2021-08-27 17:26:03 -0700
commit1ba3eb044df851db2406f8fca02d2e34be2d8b57 (patch)
treec75e4dbb89a1a074dd99d2d3a6f3eebb238ac2f9
parent86079708ee6532d458cdb1107787b6587cbd3906 (diff)
downloadglibc-1ba3eb044df851db2406f8fca02d2e34be2d8b57.tar.gz
Add -Wno-incomplete-setjmp-declaration to prevent clang from unhelpfully complaining about __sigsetjmp, both in library build and testsuite runs.
-rw-r--r--Makeconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig
index dce9b3548d..ff744a8f0d 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -907,6 +907,7 @@ ifeq ($(with-clang),yes)
+cflags += -fheinous-gnu-extensions
# Don't complain about __sigsetjmp.
+cflags += -Wno-builtin-requires-header
++cflags += -Wno-incomplete-setjmp-declaration
# clang takes gnu89 as requiring a warning about duplicates, gcc does not
+cflags += -Wno-duplicate-decl-specifier
# Non-string format arguments come from debugging prints in ld.so.