From 2609bbe889ae5ffe91163755dbe39537f28d22b4 Mon Sep 17 00:00:00 2001 From: pkubaj Date: Mon, 8 Jul 2019 12:58:12 +0000 Subject: 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) --- net-mgmt/zabbix3-server/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net-mgmt') diff --git a/net-mgmt/zabbix3-server/Makefile b/net-mgmt/zabbix3-server/Makefile index 92f3eafc8997..5ffb41dd04f4 100644 --- a/net-mgmt/zabbix3-server/Makefile +++ b/net-mgmt/zabbix3-server/Makefile @@ -82,7 +82,7 @@ OPTIONS_SINGLE_ODBC= IODBC UNIXODBC OPTIONS_SINGLE_SSL= OPENSSL GNUTLS MYSQL_CONFIGURE_WITH= mysql -MYSQL_USES+= mysql +MYSQL_USES+= compiler:c11 mysql PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES+= pgsql -- cgit