Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2020 15:18:43 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528652 - head/mail/eps
Message-ID:  <202003181518.02IFIh1X000872@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003181518.02IFIh1X000872>