pkgsrc/lang/ghc90/buildlink3.mk
pho b013558cd5 When the LLVM backend is enabled, use clang as the assembler
This turned out to be necessary because LLVM 13 emits assembly code that is
incompatible with "as" from Binutils < 2.36.
2022-02-06 05:31:57 +00:00

18 lines
487 B
Makefile

# $NetBSD: buildlink3.mk,v 1.6 2022/02/06 05:31:57 pho Exp $
BUILDLINK_TREE+= ghc
.if !defined(GHC_BUILDLINK3_MK)
GHC_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ghc+= ghc>=9.0
BUILDLINK_ABI_DEPENDS.ghc+= ghc>=9.0.2nb1
BUILDLINK_PKGSRCDIR.ghc?= ../../lang/ghc90
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/libffi/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.endif # GHC_BUILDLINK3_MK
BUILDLINK_TREE+= -ghc