summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-04-12 16:09:40 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-04-12 16:09:40 +0000
commit1fead130021e4170fc8091a0791b2ae5571a54a4 (patch)
tree356809f1afb5b9c2c05774088fc90ed2d4501a93
parentAdd 'service frr onerestart all' usage. (diff)
net-im/ejabberd: fix build on GCC architectures
GCC 4.2 doesn't support LTO: cc1: error: unrecognized command line option "-flto"
-rw-r--r--net-im/ejabberd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-im/ejabberd/Makefile b/net-im/ejabberd/Makefile
index fefcc22a51c1..d6f0136ed541 100644
--- a/net-im/ejabberd/Makefile
+++ b/net-im/ejabberd/Makefile
@@ -18,7 +18,8 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 \
libpng.so:graphics/png \
libwebp.so:graphics/webp
-USES= cpe gmake pkgconfig shebangfix ssl jpeg autoreconf:build
+USES= compiler:c11 cpe gmake pkgconfig shebangfix ssl jpeg \
+ autoreconf:build
USERS= ejabberd
GROUPS= ${USERS}