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
This commit is contained in:
Ed Maste 2019-06-01 18:26:07 +00:00
parent 0ca3c38188
commit 15c0034ff2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348498

View file

@ -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