summaryrefslogtreecommitdiff
path: root/devel/ftnchek
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2003-08-02 17:49:37 +0000
committerkristerw <kristerw@pkgsrc.org>2003-08-02 17:49:37 +0000
commit785cebd93814f68f9329846f6eda5a301af3c3a2 (patch)
tree50628f41687e7ab6a6549e69d07e9a818ae60581 /devel/ftnchek
parentf0fb29ce5c8ee620142bf6d844c9a4c14c6a52e3 (diff)
downloadpkgsrc-785cebd93814f68f9329846f6eda5a301af3c3a2.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/ftnchek')
-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