Add workarounds for obsolete std::auto_ptr usage in atf.
This commit is contained in:
parent
6a82ac86f0
commit
b903ca97ef
@ -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 \
|
||||
|
@ -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=
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user