aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-09-17 06:07:08 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-09-17 06:07:08 +0000
commit2c3f47a727372086b41ef9ce06eb1f1eb83a67d3 (patch)
tree16776cbea9306a47d305b06192510a01f4300c9e /libexec
parentc950e612873480cd06b61cae2cc024675d6cacd4 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/atf/atf-check/Makefile3
-rw-r--r--libexec/atf/atf-sh/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/libexec/atf/atf-check/Makefile b/libexec/atf/atf-check/Makefile
index 4fe6e4e7dbb91..b6ef6778403ab 100644
--- a/libexec/atf/atf-check/Makefile
+++ b/libexec/atf/atf-check/Makefile
@@ -38,6 +38,9 @@ MAN= atf-check.1
CFLAGS+= -I${ATF}
CFLAGS+= -DATF_SHELL='"/bin/sh"'
+# Silence warnings about usage of deprecated std::auto_ptr
+CXXWARNFLAGS+= -Wno-deprecated-declarations
+
LIBADD= atf_cxx
HAS_TESTS=
diff --git a/libexec/atf/atf-sh/Makefile b/libexec/atf/atf-sh/Makefile
index dd8cfaf1775da..d04816f8a591d 100644
--- a/libexec/atf/atf-sh/Makefile
+++ b/libexec/atf/atf-sh/Makefile
@@ -65,6 +65,9 @@ CFLAGS+= -DATF_PKGDATADIR='"${SHAREDIR}/atf"'
CFLAGS+= -DATF_SHELL='"/bin/sh"'
CFLAGS+= -I${ATF}
+# Silence warnings about usage of deprecated std::auto_ptr
+CXXWARNFLAGS+= -Wno-deprecated-declarations
+
LIBADD= atf_cxx
FILESGROUPS= SUBR