Module Name:    src
Committed By:   tls
Date:           Sun Jul 26 21:33:46 UTC 2009

Modified Files:
        src/lib/libevent: Makefile

Log Message:
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.5 -r1.6 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.5 src/lib/libevent/Makefile:1.6
--- src/lib/libevent/Makefile:1.5	Wed Jul  8 21:23:53 2009
+++ src/lib/libevent/Makefile	Sun Jul 26 21:33:46 2009
@@ -1,10 +1,10 @@
-#	$NetBSD: Makefile,v 1.5 2009/07/08 21:23:53 tls Exp $
+#	$NetBSD: Makefile,v 1.6 2009/07/26 21:33:46 tls 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