HomeFreeBSD

net-mgmt/zabbix3-server: fix build with GCC-based architectures

Description

net-mgmt/zabbix3-server: fix build with GCC-based architectures

Since the switch to MySQL 5.7, C11-aware compiler is required:
/usr/bin/ld: cannot find -latomic

The problem only happens with MYSQL option, so add USES=compiler:c11 only when using MYSQL option.

Approved by: mentors (implicit approval)

Details

Provenance
pkubajAuthored on
Parents
rP506216: Mark BROKEN: fails to stage
Branches
Unknown
Tags
Unknown