NetBSD/usr.sbin/pppd/Makefile.inc
joerg 9edf9a0457 Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply
to Clang. Add a few cases of HAVE_LLVM for -fno-strict-aliasing.
2012-08-10 12:10:27 +00:00

16 lines
349 B
Makefile

# $NetBSD: Makefile.inc,v 1.8 2012/08/10 12:10:29 joerg Exp $
WARNS?= 1 # XXX -Wshadow -Wcast-qual -Wsign-compare
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif
USE_FORT?=yes # network client/server
.include <bsd.own.mk>
.if defined(HAVE_GCC) || defined(HAVE_LLVM)
COPTS+= -fno-strict-aliasing
.endif