diff --git a/lib/libdevdctl/Makefile b/lib/libdevdctl/Makefile index 5a18a14af622..06e1892c80d3 100644 --- a/lib/libdevdctl/Makefile +++ b/lib/libdevdctl/Makefile @@ -18,4 +18,8 @@ WARNS?= 3 PRIVATELIB= true SHLIB_MAJOR= 0 +# Silence gcc warnings about deprecated std::auto_ptr, and various function +# objects from . +CWARNFLAGS+= -Wno-deprecated-declarations + .include