summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2003-02-09 16:33:57 +0000
committerdmcmahill <dmcmahill>2003-02-09 16:33:57 +0000
commit8619c97006d39d8de01ed3118f2e7aaeb4d810db (patch)
tree69d50b333c13c4de75901a7d4f79a255d6dc9718 /net
parentf603646209de5b08dabcfe78dc0d99fe7e8de199 (diff)
downloadpkgsrc-8619c97006d39d8de01ed3118f2e7aaeb4d810db.tar.gz
reduce optimization on alpha to avoid a compiler bug
Diffstat (limited to 'net')
-rw-r--r--net/isic/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/net/isic/Makefile b/net/isic/Makefile
index e76d36a7351..880aa2be841 100644
--- a/net/isic/Makefile
+++ b/net/isic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2002/08/25 21:49:59 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2003/02/09 16:33:57 dmcmahill Exp $
#
DISTNAME= isic-0.05
@@ -18,3 +18,18 @@ post-install:
.include "../../devel/libnet/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
+
+# XXX On NetBSD, the egcs and gcc-2.95.3 for:
+# XXX
+# XXX alpha
+# XXX
+# XXX has an optimization bug when compiling with -O2
+#
+.if ${OPSYS} == "NetBSD"
+. if (${MACHINE_ARCH} == "alpha")
+CPPFLAGS:= ${CPPFLAGS:C/-O[0-9]*//g}
+CFLAGS:= ${CFLAGS:C/-O[0-9]*//g}
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
+. endif
+.endif