9edf9a0457
to Clang. Add a few cases of HAVE_LLVM for -fno-strict-aliasing.
18 lines
357 B
Makefile
18 lines
357 B
Makefile
# $NetBSD: Makefile,v 1.15 2012/08/10 12:10:28 joerg Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 6/18/93
|
|
|
|
WARNS?= 3 # XXX -Wsign-compare
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= dumplfs
|
|
SRCS= dumplfs.c lfs_cksum.c misc.c
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/lfs
|
|
MAN= dumplfs.8
|
|
|
|
.if defined(HAVE_GCC) || defined(HAVE_LLVM)
|
|
COPTS+= -fno-strict-aliasing
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|