pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/scheme48 Build with -O0 for now until I can figur...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77da7d5d60ca
branches:  trunk
changeset: 626404:77da7d5d60ca
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Nov 10 20:28:50 2013 +0000

description:
Build with -O0 for now until I can figure out why it crashes when
optimised.

diffstat:

 lang/scheme48/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r cc71750e969a -r 77da7d5d60ca lang/scheme48/Makefile
--- a/lang/scheme48/Makefile    Sun Nov 10 20:28:14 2013 +0000
+++ b/lang/scheme48/Makefile    Sun Nov 10 20:28:50 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2013/08/06 19:57:42 asau Exp $
+# $NetBSD: Makefile,v 1.38 2013/11/10 20:28:50 joerg Exp $
 
 DISTNAME=              scheme48-1.9
 PKGREVISION=           1
@@ -40,5 +40,10 @@
 SUBST_SED.pthr=        -e 's,pthreads_done=\"no\",pthreads_done=\"yes\"; CFLAGS=\"$$CFLAGS -pthread\"; LDFLAGS=\"$$LDFLAGS -pthread\",'
 .endif
 
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+= -O0
+.endif
+
 .include "../../devel/sysexits/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index