Module Name:    src
Committed By:   snj
Date:           Tue Aug  4 18:39:31 UTC 2009

Modified Files:
        src/lib/libevent [netbsd-5]: Makefile

Log Message:
Pull up following revision(s) (requested by tls in ticket #876):
        lib/libevent/Makefile: revision 1.6
According to the libevent 1.4.12 change announcement, problems have been
observed with GCC 4 and strict-aliasing in the libevent code.  Add
-fno-strict-aliasing to work around this (same thing libevent did
upstream).


To generate a diff of this commit:
cvs rdiff -u -r1.4.4.1 -r1.4.4.2 src/lib/libevent/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libevent/Makefile
diff -u src/lib/libevent/Makefile:1.4.4.1 src/lib/libevent/Makefile:1.4.4.2
--- src/lib/libevent/Makefile:1.4.4.1	Tue Aug  4 18:32:08 2009
+++ src/lib/libevent/Makefile	Tue Aug  4 18:39:30 2009
@@ -1,10 +1,10 @@
-#	$NetBSD: Makefile,v 1.4.4.1 2009/08/04 18:32:08 snj Exp $
+#	$NetBSD: Makefile,v 1.4.4.2 2009/08/04 18:39:30 snj Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/4/93
 
 NOLINT=		# Until someone explains to me how to avoid lint stupidity
 USE_SHLIBDIR=	yes
 
-CPPFLAGS+=-I${.CURDIR}
+CPPFLAGS+=-I${.CURDIR} -fno-strict-aliasing
 .include <bsd.own.mk>
 
 LIB=	event

Reply via email to