Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2017 10:57:11 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r434076 - head/comms/libfec
Message-ID:  <201702141057.v1EAvBtt090834@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Tue Feb 14 10:57:11 2017
New Revision: 434076
URL: https://svnweb.freebsd.org/changeset/ports/434076

Log:
  Use -fPIC for all architectures because the makefile tries to create a
  shared library libfec.so from object files compiled without -fPIC.

Modified:
  head/comms/libfec/Makefile

Modified: head/comms/libfec/Makefile
==============================================================================
--- head/comms/libfec/Makefile	Tue Feb 14 10:52:20 2017	(r434075)
+++ head/comms/libfec/Makefile	Tue Feb 14 10:57:11 2017	(r434076)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libfec
 PORTVERSION=	3.0.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	comms astro hamradio math
 MASTER_SITES=	http://www.ka9q.net/code/fec/ \
 		LOCAL/db
@@ -26,8 +26,8 @@ PLIST_FILES=	include/fec.h		\
 		man/man3/rs.3.gz	\
 		man/man3/simd-viterbi.3.gz
 
-CFLAGS_aarch64=	-fPIC
-CFLAGS_amd64=	-fPIC
+# makefile tries to create libfec.so from object files compiled without -fPIC.
+CFLAGS+=	-fPIC
 
 post-patch:
 	@${CP} ${FILESDIR}/cpu_mode.c ${WRKSRC}



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