Support LLVM build.

This commit is contained in:
joerg 2014-01-23 14:06:28 +00:00
parent 29cb017282
commit 4a937800dd
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2014/01/20 01:37:53 christos Exp $
# $NetBSD: Makefile,v 1.8 2014/01/23 14:06:28 joerg Exp $
LIBISPRIVATE=yes
@ -43,7 +43,7 @@ SRCS= assertions.c \
time.c \
sockaddr.c
.if defined(HAVE_GCC) && ${HAVE_GCC} > 45
.if !defined(HAVE_GCC) || ${HAVE_GCC} >= 45
COPTS.log.c+= -Wno-error=format-nonliteral
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2014/01/20 01:32:12 christos Exp $
# $NetBSD: Makefile,v 1.10 2014/01/23 14:06:28 joerg Exp $
LIBISPRIVATE=yes
@ -77,7 +77,7 @@ ymd2yd.c
CPPFLAGS+= -I${IDIST}/sntp/libopts
.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
.if !defined(HAVE_GCC) || ${HAVE_GCC} >= 45
COPTS.msyslog.c+= -Wno-error=format-nonliteral
.endif