mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
x11/kitty: fix build on riscv64 and runtime on powerpc64
Disable LTO. On riscv64: Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) ld: error: lto.tmp: cannot link object files with different floating-point ABI cc: error: linker command failed with exit code 1 (use -v to see invocation) On powerpc64, LTO is broken with LLVM.
This commit is contained in:
parent
648efac422
commit
16c1253b4a
1 changed files with 6 additions and 0 deletions
|
@ -51,6 +51,12 @@ _STRIP_TARGETS= lib/kitty/kitty/fast_data_types.so lib/kitty/kitty/glfw-x11.so \
|
|||
lib/kitty/kittens/choose/subseq_matcher.so bin/kitty
|
||||
_EMPTY_DIRS= kittens/choose kittens/diff kittens/unicode_input kittens kitty
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == powerpc64 || ${ARCH:Mriscv64*}
|
||||
MAKE_ENV+= KITTY_NO_LTO=1
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
(cd ${WRKSRC} && \
|
||||
${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py linux-package --update-check-interval 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue