summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/xscreensaver/Makefile.common6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/xscreensaver/Makefile.common b/x11/xscreensaver/Makefile.common
index 4bc91d4edeb..07615eb776c 100644
--- a/x11/xscreensaver/Makefile.common
+++ b/x11/xscreensaver/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.56 2003/09/17 19:41:28 grant Exp $
+# $NetBSD: Makefile.common,v 1.57 2003/11/14 14:58:15 fredb Exp $
#
DISTNAME= xscreensaver-4.13
@@ -48,6 +48,10 @@ CONFIGURE_ARGS+= --without-kerberos
. endif
.endif
+.if (${_CC_IS_GCC} == "YES")
+CFLAGS+= -fno-strict-aliasing
+.endif
+
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
USE_PKGSRC_GCC= # defined
.endif