summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfredb <fredb>2003-11-14 14:58:15 +0000
committerfredb <fredb>2003-11-14 14:58:15 +0000
commitcbc0b16ae3d831b61753d756d21d734ed02476ce (patch)
tree1ce0e5d40e84a4301f5b58435e493930b44a2384
parentab5a1f23715079a561bff6a8d300ef2234e9e77e (diff)
downloadpkgsrc-cbc0b16ae3d831b61753d756d21d734ed02476ce.tar.gz
Many of the "hacks" aren't ready for strict aliasing, so turn it off.
-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