Module Name: othersrc
Committed By: agc
Date: Wed Sep 21 05:59:19 UTC 2011
Modified Files:
othersrc/external/bsd/tiger/libtiger: Makefile
Log Message:
temporary workaround until strict aliasing is fixed for gcc>=4.5
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/tiger/libtiger/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/external/bsd/tiger/libtiger/Makefile
diff -u othersrc/external/bsd/tiger/libtiger/Makefile:1.1.1.1 othersrc/external/bsd/tiger/libtiger/Makefile:1.2
--- othersrc/external/bsd/tiger/libtiger/Makefile:1.1.1.1 Thu Jun 2 15:10:51 2011
+++ othersrc/external/bsd/tiger/libtiger/Makefile Wed Sep 21 05:59:19 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2011/06/02 15:10:51 agc Exp $
+# $NetBSD: Makefile,v 1.2 2011/09/21 05:59:19 agc Exp $
.include <bsd.own.mk>
@@ -17,3 +17,8 @@
INCSDIR=/usr/include
.include <bsd.lib.mk>
+
+.if ${HAVE_GCC} >= 45
+#COPTS.isns_pdu.c+= -fno-strict-aliasing
+CPPFLAGS+= -fno-strict-aliasing
+.endif