svn commit: r531666 - head/mail/eps

Piotr Kubaj pkubaj at FreeBSD.org
Tue Apr 14 10:49:05 UTC 2020


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
 


More information about the svn-ports-head mailing list