Source-Changes-HG archive

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

[src/trunk]: src/share/mk Remove effectively tautological condition.



details:   https://anonhg.NetBSD.org/src/rev/4e763c8db7a1
branches:  trunk
changeset: 780897:4e763c8db7a1
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Aug 10 16:34:23 2012 +0000

description:
Remove effectively tautological condition.

diffstat:

 share/mk/bsd.kmodule.mk |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r f4a7d925aea0 -r 4e763c8db7a1 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk   Fri Aug 10 16:33:41 2012 +0000
+++ b/share/mk/bsd.kmodule.mk   Fri Aug 10 16:34:23 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmodule.mk,v 1.36 2012/03/15 02:00:52 joerg Exp $
+#      $NetBSD: bsd.kmodule.mk,v 1.37 2012/08/10 16:34:23 joerg Exp $
 
 # We are not building this with PIE
 MKPIE=no
@@ -18,9 +18,7 @@
 CPPFLAGS+=     -D_KERNEL -D_LKM -D_MODULE -DSYSCTL_INCLUDE_DESCR
 
 # XXX until the kernel is fixed again...
-.if defined(HAVE_GCC) || defined(HAVE_PCC) || defined(HAVE_LLVM)
 CFLAGS+=       -fno-strict-aliasing -Wno-pointer-sign
-.endif
 
 # XXX This is a workaround for platforms that have relative relocations
 # that, when relocated by the module loader, result in addresses that



Home | Main Index | Thread Index | Old Index