Module Name:    src
Committed By:   snj
Date:           Tue Aug  4 18:41:57 UTC 2009

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

Log Message:
Pull up following revision(s) (requested by tls in ticket #876):
        lib/libevent/Makefile: revision 1.6 via patch
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 -r1.4.8.1 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 src/lib/libevent/Makefile:1.4.8.1
--- src/lib/libevent/Makefile:1.4	Fri May 16 20:24:57 2008
+++ src/lib/libevent/Makefile	Tue Aug  4 18:41:57 2009
@@ -1,10 +1,10 @@
-#	$NetBSD: Makefile,v 1.4 2008/05/16 20:24:57 peter Exp $
+#	$NetBSD: Makefile,v 1.4.8.1 2009/08/04 18:41:57 snj Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/4/93
 
 NOLINT=		# Until someone explains to me how to avoid lint stupidity
 USE_SHLIBDIR=	yes
 
-CPPFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR}
+CPPFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR} -fno-strict-aliasing
 .include <bsd.own.mk>
 
 LIB=	event

Reply via email to