From 3a0d7e6266545e0124482e8693d7cf27214e0698 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 10 Nov 2013 20:28:50 +0000 Subject: Build with -O0 for now until I can figure out why it crashes when optimised. --- lang/scheme48/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lang/scheme48') diff --git a/lang/scheme48/Makefile b/lang/scheme48/Makefile index 0ea950b4795..023cf68a25f 100644 --- a/lang/scheme48/Makefile +++ b/lang/scheme48/Makefile @@ -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_MESSAGE.pthr= Hardcoding -pthread in CFLAGS and LDFLAGS 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" -- cgit v1.2.3