aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
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