libatomic_ops: build fix for netbsd/sparc, which might be sparc v8.
from Tobias Ulmer in PR pkg/53570
This commit is contained in:
parent
9a2073d1c6
commit
d3eded16e8
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.17 2018/08/16 10:13:30 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.18 2018/09/18 03:42:07 maya Exp $
|
||||
|
||||
DISTNAME= libatomic_ops-7.6.6
|
||||
CATEGORIES= devel
|
||||
|
@ -19,4 +19,8 @@ TEST_TARGET= check
|
|||
|
||||
INSTALL_MAKE_FLAGS= pkgdatadir=${PREFIX}/share/doc/libatomic_ops
|
||||
|
||||
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc)
|
||||
CPPFLAGS+= -DAO_NO_SPARC_V9=1
|
||||
.endif
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue