summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-07-08 12:29:42 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-07-08 12:29:42 +0000
commit45c36b331effc6682a8465bb95c6fe068b5539d6 (patch)
treed962fd94ccc1ddcdde4757f1f94d97fb0a92c279
parentsecurity/libpreludedb: fix build with GCC-based architectures (diff)
databases/libdbi-drivers: fix build with GCC-based architectures
Since the switch to MySQL 5.7, C11-aware compiler is required: /usr/bin/ld: cannot find -latomic Approved by: mentors (implicit approval)
-rw-r--r--databases/libdbi-drivers/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/libdbi-drivers/Makefile b/databases/libdbi-drivers/Makefile
index 89612b384655..f3332ca0c38d 100644
--- a/databases/libdbi-drivers/Makefile
+++ b/databases/libdbi-drivers/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libdbi.so:databases/libdbi
-USES= gmake libtool
+USES= compiler:c11 gmake libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static \
--with-dbi-incdir=${LOCALBASE}/include \