summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorkristerw <kristerw>2003-08-02 17:49:37 +0000
committerkristerw <kristerw>2003-08-02 17:49:37 +0000
commitcf98c381ed7a9c6077d3ca2d012fbe1f0d0b5063 (patch)
tree50628f41687e7ab6a6549e69d07e9a818ae60581 /devel
parent2a30c3b416e390134eac61b8fa1ee272cf84e656 (diff)
downloadpkgsrc-cf98c381ed7a9c6077d3ca2d012fbe1f0d0b5063.tar.gz
gcc 2.95.3/arm gives "internal compiler error" when compiling this with -O2.
Use -O1 instead for arm.
Diffstat (limited to 'devel')
-rw-r--r--devel/ftnchek/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/ftnchek/Makefile b/devel/ftnchek/Makefile
index 46c670fc514..7da92b8a1e7 100644
--- a/devel/ftnchek/Makefile
+++ b/devel/ftnchek/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2003/07/17 21:30:32 grant Exp $
+# $NetBSD: Makefile,v 1.13 2003/08/02 17:49:37 kristerw Exp $
DISTNAME= ftnchek-3.2.2
CATEGORIES= devel
@@ -13,6 +13,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--libdir=${PREFIX}/libexec
CONFIGURE_ARGS+=--disable-submodel
+.if (${MACHINE_ARCH} == "arm")
+CFLAGS+= -O1
+.endif
+
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp