devel/protobuf-c: needs -latomic on NetBSD/powerpc.
Presumably for 8-byte atomic operations.
This commit is contained in:
parent
a29b53aaa3
commit
455f24294a
1 changed files with 13 additions and 0 deletions
13
devel/protobuf-c/hacks.mk
Normal file
13
devel/protobuf-c/hacks.mk
Normal file
|
@ -0,0 +1,13 @@
|
|||
# $NetBSD: hacks.mk,v 1.1 2022/06/23 13:57:35 he Exp $
|
||||
|
||||
.if !defined(PROTOC_C_HACKS_MK)
|
||||
PROTOC_C_HACKS_MK= defined
|
||||
|
||||
# [Wed Jun 22 17:05:22 CEST 2022 : he]
|
||||
# On NetBSD/powerpc, use devel/libatomic to get 8-byte atomics.
|
||||
.if ${MACHINE_ARCH} == "powerpc" && ${OPSYS} == "NetBSD"
|
||||
PKG_HACKS+= powerpc-atomics
|
||||
.include "../../devel/libatomic/buildlink3.mk"
|
||||
.endif
|
||||
|
||||
.endif # PROTOC_C_HACKS_MK
|
Loading…
Reference in a new issue