Date: Wed, 26 Sep 2018 13:33:23 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480738 - head/audio/xmms-sapplug Message-ID: <201809261333.w8QDXNrL079102@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste (src committer) Date: Wed Sep 26 13:33:22 2018 New Revision: 480738 URL: https://svnweb.freebsd.org/changeset/ports/480738 Log: audio/xmms-sapplug: add -fPIC to linking with lld on i386 and arm64 By default lld disallows relocations against read-only segments and requires that shared objects are built with -fPIC (as they should be). This port already set -fPIC for amd64, so apply it to arm64 (which already uses lld as the system linker) and i386 (which will soon switch to lld as the system linker). Approved by: portmgr (lld blanket) Modified: head/audio/xmms-sapplug/Makefile Modified: head/audio/xmms-sapplug/Makefile ============================================================================== --- head/audio/xmms-sapplug/Makefile Wed Sep 26 13:13:48 2018 (r480737) +++ head/audio/xmms-sapplug/Makefile Wed Sep 26 13:33:22 2018 (r480738) @@ -3,7 +3,7 @@ PORTNAME= xmms-sapplug DISTVERSION= 0.3f -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio MASTER_SITES= LOCAL/ehaupt DISTNAME= sapplug-xmms-${DISTVERSION} @@ -13,8 +13,6 @@ COMMENT= XMMS input plugin for playing 8bit Atari(TM) LICENSE= GPLv2 -BROKEN_aarch64= fails to link: can't create dynamic relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol: gtk_widget_destroyed in readonly segment - BUILD_DEPENDS= xmms:multimedia/xmms RUN_DEPENDS= xmms:multimedia/xmms @@ -29,7 +27,9 @@ PLIST_FILES= lib/xmms/Input/libsap.so OPTIONS_DEFINE= OPTIMIZED_CFLAGS +CFLAGS_aarch64= -fpic -DPIC CFLAGS_amd64= -fpic -DPIC +CFLAGS_i386= -fpic -DPIC .include <bsd.port.pre.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809261333.w8QDXNrL079102>