svn commit: r349053 - stable/11/lib/atf/libatf-c/tests

Ed Maste emaste at FreeBSD.org
Sat Jun 15 09:30:12 UTC 2019


Author: emaste
Date: Sat Jun 15 09:30:11 2019
New Revision: 349053
URL: https://svnweb.freebsd.org/changeset/base/349053

Log:
  MFC r348498: 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

Modified:
  stable/11/lib/atf/libatf-c/tests/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/atf/libatf-c/tests/Makefile
==============================================================================
--- stable/11/lib/atf/libatf-c/tests/Makefile	Sat Jun 15 09:28:48 2019	(r349052)
+++ stable/11/lib/atf/libatf-c/tests/Makefile	Sat Jun 15 09:30:11 2019	(r349053)
@@ -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
 


More information about the svn-src-all mailing list