Source-Changes-HG archive

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

[src/trunk]: src/lib/librumpclient Disable string aliasing for rump_syscalls....



details:   https://anonhg.NetBSD.org/src/rev/854e7b00a518
branches:  trunk
changeset: 762523:854e7b00a518
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Feb 22 14:02:54 2011 +0000

description:
Disable string aliasing for rump_syscalls.c.  I can't figure out
how to otherwise make the kernel's register_t coreography to work
with the return value here in a MI fashion.

diffstat:

 lib/librumpclient/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a556a7554594 -r 854e7b00a518 lib/librumpclient/Makefile
--- a/lib/librumpclient/Makefile        Tue Feb 22 13:25:18 2011 +0000
+++ b/lib/librumpclient/Makefile        Tue Feb 22 14:02:54 2011 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: Makefile,v 1.3 2011/02/16 23:45:40 pooka Exp $
+#      $NetBSD: Makefile,v 1.4 2011/02/22 14:02:54 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../sys/rump/librump/rumpkern
+NOLINT=        # syscalls are evil
 
 LIB=           rumpclient
 USE_SHLIBDIR=  yes
@@ -16,4 +17,6 @@
 SRCS=          rumpclient.c
 SRCS+=         rump_syscalls.c
 
+COPTS.rump_syscalls.c+= -fno-strict-aliasing
+
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index