Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2020 10:49:04 +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: r531666 - head/mail/eps
Message-ID:  <202004141049.03EAn4BN071427@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Apr 14 10:49:04 2020
New Revision: 531666
URL: https://svnweb.freebsd.org/changeset/ports/531666

Log:
  mail/eps: fix build on powerpc with clang
  
  Add -fPIC:
  ld: error: can't create dynamic relocation R_PPC_ADDR16_LO against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
  >>> defined in mime.o
  >>> referenced by mime.c
  >>>               mime.o:(mime_content_type)

Modified:
  head/mail/eps/Makefile

Modified: head/mail/eps/Makefile
==============================================================================
--- head/mail/eps/Makefile	Tue Apr 14 10:45:32 2020	(r531665)
+++ head/mail/eps/Makefile	Tue Apr 14 10:49:04 2020	(r531666)
@@ -19,6 +19,7 @@ USE_CSTD=	gnu89
 CFLAGS_amd64=	-fPIC
 CFLAGS_i386=	-fPIC
 CFLAGS_powerpc64=	-fPIC
+CFLAGS_powerpc=	-fPIC
 
 PORTDOCS=	howto
 



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