From: Stan Shebs Date: Fri, 24 Jan 2020 16:16:04 +0000 (-0800) Subject: Add -Wno-incomplete-setjmp-declaration to prevent clang from unhelpfully complaining... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ba3eb044df851db2406f8fca02d2e34be2d8b57;p=thirdparty%2Fglibc.git Add -Wno-incomplete-setjmp-declaration to prevent clang from unhelpfully complaining about __sigsetjmp, both in library build and testsuite runs. --- diff --git a/Makeconfig b/Makeconfig index dce9b3548d5..ff744a8f0d0 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.