diff options
author | joerg <joerg@pkgsrc.org> | 2013-11-10 20:28:50 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-11-10 20:28:50 +0000 |
commit | 3a0d7e6266545e0124482e8693d7cf27214e0698 (patch) | |
tree | 46864eaa70a857d74b10e9877d89df2720bc06b0 | |
parent | 153eebaa86a37c7ed1c7bd2c140d0a058e4c5afa (diff) | |
download | pkgsrc-3a0d7e6266545e0124482e8693d7cf27214e0698.tar.gz |
Build with -O0 for now until I can figure out why it crashes when
optimised.
-rw-r--r-- | lang/scheme48/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
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" |