rework the previous to only apply if !HOSTPROG
This commit is contained in:
parent
50bd97fc67
commit
97ee1e16ff
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.9 2019/02/04 09:51:47 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2019/02/04 10:03:16 mrg Exp $
|
||||
|
||||
PROG= stat
|
||||
|
||||
|
@ -10,7 +10,7 @@ MLINKS= stat.1 readlink.1
|
|||
.include <bsd.own.mk>
|
||||
|
||||
# Has fallthru comment that is missed
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
|
||||
.if !defined(HOSTPROG) && defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
|
||||
COPTS.stat.c+= -Wno-error=implicit-fallthrough
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue