Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/dumplfs Turn off -fno-strict-aliasing for HAVE_GCC; ...



details:   https://anonhg.NetBSD.org/src/rev/b2b5a14a186c
branches:  trunk
changeset: 789214:b2b5a14a186c
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Aug 11 03:49:24 2013 +0000

description:
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.)

diffstat:

 usr.sbin/dumplfs/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fe4862bf1c9f -r b2b5a14a186c usr.sbin/dumplfs/Makefile
--- a/usr.sbin/dumplfs/Makefile Sun Aug 11 03:44:27 2013 +0000
+++ b/usr.sbin/dumplfs/Makefile Sun Aug 11 03:49:24 2013 +0000
@@ -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 @@
 .PATH: ${NETBSDSRCDIR}/sys/ufs/lfs
 MAN=   dumplfs.8
 
-.if defined(HAVE_GCC) || defined(HAVE_LLVM)
+.if defined(HAVE_LLVM)
 COPTS+=        -fno-strict-aliasing
 .endif
 



Home | Main Index | Thread Index | Old Index