git: b4a8d5e1a4bd - main - editors/neovim: only use GCC on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Dec 2021 23:27:56 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b4a8d5e1a4bdf0df68a3bf80885bf811a3cd893b
commit b4a8d5e1a4bdf0df68a3bf80885bf811a3cd893b
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-12-03 23:21:37 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-12-03 23:21:37 +0000
editors/neovim: only use GCC on powerpc64
On powerpc64le, clang works fine with LTO.
---
editors/neovim/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/editors/neovim/Makefile b/editors/neovim/Makefile
index 0a0429fe5453..b665d6f1659f 100644
--- a/editors/neovim/Makefile
+++ b/editors/neovim/Makefile
@@ -63,6 +63,9 @@ PYNVIM_USES= python:run
.if ${ARCH:Mpowerpc64*}
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
+.endif
+
+.if ${ARCH} == powerpc64
USES+= compiler:gcc-c++11-lib
.endif