aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-09-03 05:55:56 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-09-03 05:55:56 +0000
commitb903ca97efb579077bc19fd134a3b3367d67fd8c (patch)
tree69ca6acd6745b17e246fc4e6f86ec2de6da52413
parent6a82ac86f0fe2b5474b88c99f259b3f7b8a143ef (diff)
downloadsrc-b903ca97efb579077bc19fd134a3b3367d67fd8c.tar.gz
src-b903ca97efb579077bc19fd134a3b3367d67fd8c.zip
Notes
-rw-r--r--lib/atf/libatf-c++/Makefile3
-rw-r--r--libexec/atf/atf-check/Makefile3
-rw-r--r--libexec/atf/atf-sh/Makefile3
-rw-r--r--share/mk/atf.test.mk2
4 files changed, 11 insertions, 0 deletions
diff --git a/lib/atf/libatf-c++/Makefile b/lib/atf/libatf-c++/Makefile
index 03e7d19c4440..c865e6685f1e 100644
--- a/lib/atf/libatf-c++/Makefile
+++ b/lib/atf/libatf-c++/Makefile
@@ -48,6 +48,9 @@ CFLAGS+= -I.
CFLAGS+= -DHAVE_CONFIG_H
+# Silence warnings about std::auto_ptr usage
+CWARNFLAGS+= -Wno-deprecated-declarations
+
SRCS= application.cpp \
build.cpp \
check.cpp \
diff --git a/libexec/atf/atf-check/Makefile b/libexec/atf/atf-check/Makefile
index 4fe6e4e7dbb9..90f6e2a3a0a0 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 std::auto_ptr usage
+CWARNFLAGS+= -Wno-deprecated-declarations
+
LIBADD= atf_cxx
HAS_TESTS=
diff --git a/libexec/atf/atf-sh/Makefile b/libexec/atf/atf-sh/Makefile
index dd8cfaf1775d..8ac0484e3c06 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 std::auto_ptr usage
+CWARNFLAGS+= -Wno-deprecated-declarations
+
LIBADD= atf_cxx
FILESGROUPS= SUBR
diff --git a/share/mk/atf.test.mk b/share/mk/atf.test.mk
index 28470f2e080d..692b911eecf5 100644
--- a/share/mk/atf.test.mk
+++ b/share/mk/atf.test.mk
@@ -55,6 +55,8 @@ LDADD.${_T}+= ${LIBATF_CXX} ${LIBATF_C}
.endif
TEST_INTERFACE.${_T}= atf
.endfor
+# Silence warnings about std::auto_ptr usage
+CWARNFLAGS+= -Wno-deprecated-declarations
.endif
.if !empty(ATF_TESTS_SH)