Fix build on platforms where the default compiler is GCC < 6
This commit is contained in:
parent
ebafc429cc
commit
d8a1bb732a
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1 2013/06/03 11:21:03 rodent Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.2 2021/04/21 16:51:40 pho Exp $
|
||||
|
||||
BUILDLINK_TREE+= spice-protocol
|
||||
|
||||
|
@ -9,6 +9,11 @@ BUILDLINK_DEPMETHOD.spice-protocol?= build
|
|||
|
||||
BUILDLINK_API_DEPENDS.spice-protocol+= spice-protocol>=0.12.5
|
||||
BUILDLINK_PKGSRCDIR.spice-protocol?= ../../sysutils/spice-protocol
|
||||
|
||||
# spice/enums.h uses __attribute__(__deprecated__) on enums, which is
|
||||
# only available on GCC 6 or later.
|
||||
GCC_REQD+= 6
|
||||
|
||||
.endif # SPICE_PROTOCOL_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -spice-protocol
|
||||
|
|
Loading…
Reference in a new issue