svn commit: r528445 - head/archivers/p7zip
Piotr Kubaj
pkubaj at FreeBSD.org
Sat Mar 14 21:04:02 UTC 2020
Author: pkubaj
Date: Sat Mar 14 21:04:01 2020
New Revision: 528445
URL: https://svnweb.freebsd.org/changeset/ports/528445
Log:
archivers/p7zip: fix build on powerpc64
lld 10 reports the following error:
ld: error: relocation R_PPC64_TOC16_LO cannot be used against symbol MatchFinder_GetNumAvailableBytes; recompile with -fPIC
>>> defined in LzFind.o
>>> referenced by LzFind.c
>>> LzFind.o:(MatchFinder_CreateVTable)
Modified:
head/archivers/p7zip/Makefile
Modified: head/archivers/p7zip/Makefile
==============================================================================
--- head/archivers/p7zip/Makefile Sat Mar 14 21:03:47 2020 (r528444)
+++ head/archivers/p7zip/Makefile Sat Mar 14 21:04:01 2020 (r528445)
@@ -27,6 +27,7 @@ CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
CFLAGS_i386= -fPIC
CFLAGS_powerpc= -fPIC
+CFLAGS_powerpc64= -fPIC
CFLAGS_sparc64= -fPIC
# Fix the build for i386 when WITH_LLD_IS_LD is set
More information about the svn-ports-all
mailing list