These are the things that the tinderbox has problems with because it
doesn't use the default CFLAGS which contain -fno-strict-aliasing. Until the code is cleaned up, just add -fno-strict-aliasing to the CFLAGS of these for the tinderboxes' sake, allowing the rest of the tree to have -Werror enabled again.
This commit is contained in:
parent
ef0bd1833e
commit
5582e69034
@ -25,6 +25,7 @@ CFLAGS+=-I${.CURDIR}/sys
|
||||
CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
|
||||
CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH}
|
||||
CFLAGS+=-fno-builtin
|
||||
CFLAGS+=-fno-strict-aliasing
|
||||
|
||||
# Uncomment this if you want libkse to contain debug information for
|
||||
# thread locking.
|
||||
|
@ -27,6 +27,7 @@ CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
|
||||
CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH}
|
||||
CFLAGS+=-I${.CURDIR}/../libthread_db
|
||||
CFLAGS+=-Winline
|
||||
CFLAGS+=-fno-strict-aliasing
|
||||
|
||||
# CFLAGS+=-DSYSTEM_SCOPE_ONLY
|
||||
|
||||
|
@ -8,6 +8,7 @@ SRCS= if.c inet.c main.c mbuf.c mcast.c mroute.c route.c \
|
||||
unix.c atalk.c netgraph.c mroute6.c ipsec.c bpf.c pfkey.c sctp.c
|
||||
|
||||
WARNS?= 3
|
||||
CFLAGS+=-fno-strict-aliasing
|
||||
|
||||
CFLAGS+=-DIPSEC
|
||||
CFLAGS+=-DSCTP
|
||||
|
@ -59,5 +59,6 @@ MAN= acpidb.8
|
||||
WARNS?= 2
|
||||
|
||||
CFLAGS+= -DACPI_EXEC_APP
|
||||
CFLAGS+=-fno-strict-aliasing
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -5,6 +5,7 @@ MAN= kldxref.8
|
||||
SRCS= kldxref.c ef.c ef_obj.c
|
||||
|
||||
WARNS?= 2
|
||||
CFLAGS+=-fno-strict-aliasing
|
||||
|
||||
.if exists(ef_${MACHINE_ARCH}.c)
|
||||
SRCS+= ef_${MACHINE_ARCH}.c
|
||||
|
@ -4,6 +4,7 @@ PROG= nscd
|
||||
MAN= nscd.conf.5 nscd.8
|
||||
|
||||
WARNS?= 2
|
||||
CFLAGS+=-fno-strict-aliasing
|
||||
SRCS= agent.c nscd.c nscdcli.c cachelib.c cacheplcs.c debug.c log.c \
|
||||
config.c query.c mp_ws_query.c mp_rs_query.c singletons.c protocol.c \
|
||||
parser.c
|
||||
|
@ -15,6 +15,7 @@ GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_private.h yppasswd_private_svc.c \
|
||||
yppasswd_private_xdr.c yppasswd_svc.c
|
||||
|
||||
WARNS?= 4
|
||||
CFLAGS+= -fno-strict-aliasing
|
||||
CFLAGS+= -I${.CURDIR}/../../usr.sbin/vipw \
|
||||
-I${.CURDIR}/../../usr.sbin/ypserv \
|
||||
-I${.CURDIR}/../../libexec/ypxfr \
|
||||
|
Loading…
x
Reference in New Issue
Block a user