svn commit: r528652 - head/mail/eps

Piotr Kubaj pkubaj at FreeBSD.org
Wed Mar 18 15:18:44 UTC 2020


Author: pkubaj
Date: Wed Mar 18 15:18:42 2020
New Revision: 528652
URL: https://svnweb.freebsd.org/changeset/ports/528652

Log:
  mail/eps: fix build on powerpc64 elfv2
  
  lld needs -fPIC:
  ld: error: relocation R_PPC64_TOC16_LO cannot be used against symbol _i_headers; recompile with -fPIC
  >>> defined in email.o
  >>> referenced by email.c
  >>>               email.o:(email_header_internal)

Modified:
  head/mail/eps/Makefile

Modified: head/mail/eps/Makefile
==============================================================================
--- head/mail/eps/Makefile	Wed Mar 18 15:01:49 2020	(r528651)
+++ head/mail/eps/Makefile	Wed Mar 18 15:18:42 2020	(r528652)
@@ -18,6 +18,7 @@ USE_CSTD=	gnu89
 
 CFLAGS_amd64=	-fPIC
 CFLAGS_i386=	-fPIC
+CFLAGS_powerpc64=	-fPIC
 
 PORTDOCS=	howto
 


More information about the svn-ports-all mailing list