diff options
author | asau <asau@pkgsrc.org> | 2014-04-11 19:50:02 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2014-04-11 19:50:02 +0000 |
commit | 5aa8a189c8af34d672ea0c04b7e8bdc5bdf083a9 (patch) | |
tree | 323b5488b253dbd152e34b8c72c4d9ca4fbb91b1 /print/luatex | |
parent | 978d4aeb438031b28e724e2a1e4c006aae813141 (diff) | |
download | pkgsrc-5aa8a189c8af34d672ea0c04b7e8bdc5bdf083a9.tar.gz |
Downgrade optimization flags to "-O0" to work around clang crash on FreeBSD 10.0.
Diffstat (limited to 'print/luatex')
-rw-r--r-- | print/luatex/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/print/luatex/Makefile b/print/luatex/Makefile index 4b2cd714dc8..f4450e29da6 100644 --- a/print/luatex/Makefile +++ b/print/luatex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2013/12/07 16:50:02 wiz Exp $ +# $NetBSD: Makefile,v 1.29 2014/04/11 19:50:02 asau Exp $ DISTNAME= luatex-beta-0.76.0-source PKGNAME= ${DISTNAME:S/-beta//:S/-source//} @@ -110,6 +110,13 @@ SUBST_VARS.prefix= PREFIX INSTALLATION_DIRS+= bin +.include "../../mk/bsd.prefs.mk" + +# Native clang crashes on FreeBSD 10: +.if $(OPSYS) == "FreeBSD" +BUILDLINK_TRANSFORM+= rename:-O*:-O0 +.endif + .include "../../archivers/zziplib/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/cairo/buildlink3.mk" |