summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kldxref
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2007-11-20 02:07:30 +0000
committerjb <jb@FreeBSD.org>2007-11-20 02:07:30 +0000
commit5582e69034ba50273e149d51bf06746392403b90 (patch)
treec738c1fa5da607c325a8355cce50ee176ba703ca /usr.sbin/kldxref
parentef0bd1833e12eed047d40a562663a0d7122ced7a (diff)
downloadFreeBSD-src-5582e69034ba50273e149d51bf06746392403b90.zip
FreeBSD-src-5582e69034ba50273e149d51bf06746392403b90.tar.gz
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.
Diffstat (limited to 'usr.sbin/kldxref')
-rw-r--r--usr.sbin/kldxref/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/kldxref/Makefile b/usr.sbin/kldxref/Makefile
index 33337fd..2f15505 100644
--- a/usr.sbin/kldxref/Makefile
+++ b/usr.sbin/kldxref/Makefile
@@ -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
OpenPOWER on IntegriCloud