Skip to content

Commit

Permalink
Turn off -fno-strict-aliasing for HAVE_GCC; it makes no difference to
Browse files Browse the repository at this point in the history
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.)
  • Loading branch information
sauclovian committed Aug 11, 2013
1 parent 50616f3 commit 7a1b803
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr.sbin/dumplfs/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down

0 comments on commit 7a1b803

Please sign in to comment.