321f8bc67c
required to gain access to 8-byte atomics. Add a hacks.mk file to pull in devel/libatomic on powerpc ports. The reason is that even though llvm itself doesn't need or use 8-byte atomics, other programs refer to this installed CheckAtomic cmake file and may indeed both need and use 8-byte atomics. Verified that llvm still builds on NetBSD/macppc 9.0. Bump PKGREVISION to 1.
12 lines
322 B
Makefile
12 lines
322 B
Makefile
# $NetBSD: hacks.mk,v 1.1 2020/09/20 09:37:17 he Exp $
|
|
|
|
.if !defined(LLVM_HACKS_MK)
|
|
LLVM_HACKS_MK= defined
|
|
|
|
# [Sun Sep 20 11:08:39 CEST 2020 : he]
|
|
# On NetBSD/powerpc, use devel/libatomic to get 8-byte atomics.
|
|
.if ${MACHINE_ARCH} == "powerpc"
|
|
.include "../../devel/libatomic/buildlink3.mk"
|
|
.endif
|
|
|
|
.endif # LLVM_HACKS_MK
|