summaryrefslogtreecommitdiff
path: root/x11/xscreensaver
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2003-11-14 14:58:15 +0000
committerfredb <fredb@pkgsrc.org>2003-11-14 14:58:15 +0000
commit02b987d615a0614d6c5b2264c12feeace7021de9 (patch)
tree1ce0e5d40e84a4301f5b58435e493930b44a2384 /x11/xscreensaver
parent2cc57d60975c444830940789c3a911f6072b7899 (diff)
downloadpkgsrc-02b987d615a0614d6c5b2264c12feeace7021de9.tar.gz
Many of the "hacks" aren't ready for strict aliasing, so turn it off.
Diffstat (limited to 'x11/xscreensaver')
-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