Module Name: src
Committed By: dholland
Date: Sun Aug 11 03:49:24 UTC 2013
Modified Files:
src/usr.sbin/dumplfs: Makefile
Log Message:
Turn off -fno-strict-aliasing for HAVE_GCC; it makes no difference to
the compiler output and is therefore ipso facto not necessary. I'll
leave it on for HAVE_LLVM as I can't check that tonight.
(If there is invalid code in here that actually requires it, let me
know so I can fix things properly.)
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/dumplfs/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/dumplfs/Makefile
diff -u src/usr.sbin/dumplfs/Makefile:1.15 src/usr.sbin/dumplfs/Makefile:1.16
--- src/usr.sbin/dumplfs/Makefile:1.15 Fri Aug 10 12:10:28 2012
+++ src/usr.sbin/dumplfs/Makefile Sun Aug 11 03:49:24 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2012/08/10 12:10:28 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2013/08/11 03:49:24 dholland Exp $
# @(#)Makefile 8.1 (Berkeley) 6/18/93
WARNS?= 3 # XXX -Wsign-compare
@@ -10,7 +10,7 @@ SRCS= dumplfs.c lfs_cksum.c misc.c
.PATH: ${NETBSDSRCDIR}/sys/ufs/lfs
MAN= dumplfs.8
-.if defined(HAVE_GCC) || defined(HAVE_LLVM)
+.if defined(HAVE_LLVM)
COPTS+= -fno-strict-aliasing
.endif