use -fno-strict-aliasing for utils.c with GCC4
This commit is contained in:
parent
58d1fc7bc5
commit
8f1fc6cc86
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 8.1 (Berkeley) 6/4/93
|
||||
# $NetBSD: Makefile,v 1.9 2003/05/15 14:50:50 itojun Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2006/05/11 07:19:33 mrg Exp $
|
||||
|
||||
PROG= rbootd
|
||||
SRCS= bpf.c conf.c parseconf.c rbootd.c rmpproto.c utils.c
|
||||
@ -8,4 +8,10 @@ MAN= rbootd.8
|
||||
LDADD+= -lutil
|
||||
DPADD+= ${LIBUTIL}
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if ${HAVE_GCC} == 4
|
||||
COPTS.utils.c+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user