diff options
author | asau <asau> | 2014-04-11 19:50:02 +0000 |
---|---|---|
committer | asau <asau> | 2014-04-11 19:50:02 +0000 |
commit | e99d828368bb847d5cbdb61ab5036e3de3c1374c (patch) | |
tree | 2737422b1af794e6eef3d99b6585afe76187474b /print/luatex | |
parent | fa29d6f503deee813e86bf8f09d569de146dd5e0 (diff) | |
download | pkgsrc-e99d828368bb847d5cbdb61ab5036e3de3c1374c.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" |