svn commit: r451477 - head/archivers/p7zip
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sat Oct 7 19:10:47 UTC 2017
Author: rakuco
Date: Sat Oct 7 19:10:45 2017
New Revision: 451477
URL: https://svnweb.freebsd.org/changeset/ports/451477
Log:
Pass -fPIC on armv7 as well.
This fixes the following build error:
/usr/bin/ld: 7zEncode.o(.text+0x2d04): unresolvable R_ARM_MOVW_ABS_NC relocation against symbol `_ZTIi@@CXXABI_1.3'
/usr/bin/ld: final link failed: Nonrepresentable section on output
c++: error: linker command failed with exit code 1 (use -v to see invocation)
PR: 222852
Submitted by: guyyur at gmail.com
Modified:
head/archivers/p7zip/Makefile
Modified: head/archivers/p7zip/Makefile
==============================================================================
--- head/archivers/p7zip/Makefile Sat Oct 7 19:01:09 2017 (r451476)
+++ head/archivers/p7zip/Makefile Sat Oct 7 19:10:45 2017 (r451477)
@@ -20,6 +20,7 @@ MAKEFILE= makefile
MAKE_ARGS= OPTFLAGS="${CXXFLAGS}"
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
+CFLAGS_armv7= -fPIC
CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
CFLAGS_powerpc= -fPIC
More information about the svn-ports-head
mailing list