diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-10-01 13:57:16 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-10-01 13:57:16 +0000 |
commit | 23e77d41746526c433fcc954b8ee8d4ccd81555a (patch) | |
tree | 8786279928c7224c5fab05672f61b9ebafd3d95f | |
parent | editors/e93: fix build on GCC architectures (diff) |
net/dhcpcd: fix build on GCC architectures
Use C11 compiler:
arp.c: In function 'arp_found':
arp.c:145: error: #pragma GCC diagnostic not allowed inside functions
arp.c:146: error: #pragma GCC diagnostic not allowed inside functions
arp.c:148: warning: assignment from incompatible pointer type
arp.c:149: error: #pragma GCC diagnostic not allowed inside functions
Approved by: mentors (implicit approval)
-rw-r--r-- | net/dhcpcd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dhcpcd/Makefile b/net/dhcpcd/Makefile index 1c0734ad43b3..bfb982147928 100644 --- a/net/dhcpcd/Makefile +++ b/net/dhcpcd/Makefile @@ -16,7 +16,7 @@ COMMENT= DHCP/IPv4LL/IPv6RS/DHCPv6 client LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cpe tar:xz +USES= compiler:c11 cpe tar:xz CPE_VENDOR= dhcpcd_project GNU_CONFIGURE= yes |