diff options
| author | christos <christos@NetBSD.org> | 2019-10-08 18:50:34 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2019-10-08 18:50:34 +0000 |
| commit | 94490cd4749bfb021d305431ec6e25a4dcf49dc8 (patch) | |
| tree | 27b435d1b8d34136dd92a6d908ce1839d28e0019 /lib/libutil | |
| parent | 56c43dd18a9408eafda965d8536a76c57245967d (diff) | |
-Wstringop-truncation is only gcc.
Diffstat (limited to 'lib/libutil')
| -rw-r--r-- | lib/libutil/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile index bee7f776752..47758f2cea0 100644 --- a/lib/libutil/Makefile +++ b/lib/libutil/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.83 2019/10/04 00:03:56 christos Exp $ +# $NetBSD: Makefile,v 1.84 2019/10/08 18:50:34 christos Exp $ # @(#)Makefile 8.1 (Berkeley) 6/4/93 USE_SHLIBDIR= yes @@ -39,10 +39,10 @@ CPPFLAGS.sockaddr_snprintf.c+=-DHAVE_UTIL_H CPPFLAGS.sockaddr_snprintf.c+=-DHAVE_NETATALK_AT_H CPPFLAGS.sockaddr_snprintf.c+=-DHAVE_NET_IF_DL_H -#.if ${HAVE_GCC:U0} > 7 +.if ${ACTIVE_CC} == "gcc" COPTS.logwtmp.c += -Wno-stringop-truncation COPTS.logwtmpx.c += -Wno-stringop-truncation -#.endif +.endif YPREFIX=__pd .PATH: ${NETBSDSRCDIR}/lib/libc/gen |
