summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2013-08-30 22:37:22 +0000
committerjoerg <joerg>2013-08-30 22:37:22 +0000
commita8f8b7cfd46d66f4a0fe58f90ab9637f71d6b8cb (patch)
treecbe46b3ef3d9adce72cec022b447db1ad0a7cf75
parentea2d4b9abceca97b2ed7b90d399ee9d8cea5e533 (diff)
downloadpkgsrc-a8f8b7cfd46d66f4a0fe58f90ab9637f71d6b8cb.tar.gz
Don't use LLVM's assembler parser, the .end directive is not supported.
-rw-r--r--lang/sbcl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/sbcl/Makefile b/lang/sbcl/Makefile
index c713ece2a27..0550e26b9e8 100644
--- a/lang/sbcl/Makefile
+++ b/lang/sbcl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2013/08/28 17:43:51 asau Exp $
+# $NetBSD: Makefile,v 1.50 2013/08/30 22:37:22 joerg Exp $
DISTNAME= ${PKGNAME_NOREV}-source
PKGNAME= sbcl-1.1.11
@@ -67,6 +67,12 @@ SUBST_MESSAGE.fix-gtar= Fixing GNU tar references.
SUBST_FILES.fix-gtar= contrib/asdf-install/installer.lisp
SUBST_SED.fix-gtar= -e 's,@GTAR@,${GTAR},'
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+# Missing support for .end
+_WRAP_EXTRA_ARGS.CC+= -no-integrated-as
+.endif
+
do-build:
cd ${WRKSRC} && ${SH} make.sh --prefix=${PREFIX} --xc-host=${SBCL_BOOT_SYSTEM:Q}
post-build: