libbacktrace: fix testsuite for clang

* btest.c (test1, test3): Add optnone attribute.
	* edtest.c (test1): Likewise.
	* mtest.c (test1, test3): Likewise.
	* configure.ac: Use -Wno-attributes and -Wno-unknown-attributes.
	* configure: Regenerate.
This commit is contained in:
Ian Lance Taylor
2024-07-11 16:07:06 -07:00
parent e3e64ddd18
commit d4bdca038e
5 changed files with 9 additions and 7 deletions

View File

@@ -142,7 +142,8 @@ AC_SUBST(EXTRA_FLAGS)
ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwrite-strings -Wstrict-prototypes \
-Wmissing-prototypes -Wold-style-definition \
-Wmissing-format-attribute -Wcast-qual],
-Wmissing-format-attribute -Wcast-qual \
-Wno-attributes -Wno-unknown-attributes],
[WARN_FLAGS])
AC_ARG_ENABLE([werror],