summaryrefslogtreecommitdiff
path: root/lang/scheme48
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-12-12 10:52:33 +0000
committerjoerg <joerg@pkgsrc.org>2014-12-12 10:52:33 +0000
commit425e3c1a8d2ba689c53b460e46bd8108cd4da37a (patch)
tree8727d1dcdda918862dbd386eea5281c100739dcb /lang/scheme48
parent72508b9c13e4a514c9e2ae38da4f9b5282d23ddc (diff)
downloadpkgsrc-425e3c1a8d2ba689c53b460e46bd8108cd4da37a.tar.gz
Add a comment that disabling optimisation is needed not just for the
memory usage.
Diffstat (limited to 'lang/scheme48')
-rw-r--r--lang/scheme48/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/scheme48/Makefile b/lang/scheme48/Makefile
index c8b90bafead..02b1b27c8a6 100644
--- a/lang/scheme48/Makefile
+++ b/lang/scheme48/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2014/06/17 22:23:40 asau Exp $
+# $NetBSD: Makefile,v 1.40 2014/12/12 10:52:33 joerg Exp $
DISTNAME= scheme48-1.9
PKGREVISION= 1
@@ -42,6 +42,8 @@ SUBST_SED.pthr= -e 's,pthreads_done=\"no\",pthreads_done=\"yes\"; CFLAGS=\"$$CF
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
+# -O2 needs more than 2GB memory, just disabling value propagation
+# results in segmentation faults during build.
CFLAGS+= -O0
.endif