Restore -Wno-error for clang build. Just don't try to force GCC 4.1 for

clang, okay?
This commit is contained in:
joerg 2014-01-31 22:17:50 +00:00
parent 56c73caebc
commit 69a4347a81
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.2 2014/01/31 10:35:14 martin Exp $
# $NetBSD: Makefile.inc,v 1.3 2014/01/31 22:17:50 joerg Exp $
COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
@ -28,7 +28,7 @@ GENERIC_SRCS+= \
SRCS+= ${src:R}.S
. else
SRCS+= ${src}
. if ${ACTIVE_CC} == "gcc" && ${HAVE_GCC} != "4"
. if ${HAVE_GCC:U} != "4"
COPTS.${src}+= -Wno-error=missing-prototypes
. endif
. endif