From dd3c331441468ff4c11f98aec3893b1bb67b5faf Mon Sep 17 00:00:00 2001 From: emaste Date: Sat, 1 Jun 2019 18:26:07 +0000 Subject: [PATCH] libatf: remove workaround not required after atf >= 0.18 update lib/atf/libatf-c/tests/Makefile added the -Wno-duplicate-decl-specifier due to an issue with an old version of ATF. ATF has long since been updated to a version with the fix so the workaround is no longer necessary. Found during review for PR 236889. PR: 236889 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation --- lib/atf/libatf-c/tests/Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/atf/libatf-c/tests/Makefile b/lib/atf/libatf-c/tests/Makefile index e811e90b7e7..c99b2d11596 100644 --- a/lib/atf/libatf-c/tests/Makefile +++ b/lib/atf/libatf-c/tests/Makefile @@ -13,11 +13,6 @@ ATF= ${SRCTOP}/contrib/atf CFLAGS+= -DATF_INCLUDEDIR='"${INCLUDEDIR}"' CFLAGS+= -I${ATF} -# macros_test.c contains a double 'const const' which will be gone with -# the import of atf-0.18. -# TODO(jmmv): Remove this workaround once we do that update. -CFLAGS.clang+= -Wno-duplicate-decl-specifier - ${PACKAGE}FILES+= macros_h_test.c ${PACKAGE}FILES+= unused_test.c -- 2.45.0