Date: Wed, 30 Jun 2021 20:38:18 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: eb176a659d2d - main - audio/ardour6: fix build on powerpc Message-ID: <202106302038.15UKcIrg038707@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=eb176a659d2d2f0666ec4acef2fec47bbce15feb commit eb176a659d2d2f0666ec4acef2fec47bbce15feb Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-06-30 20:37:48 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-06-30 20:37:48 +0000 audio/ardour6: fix build on powerpc ld: error: can't create dynamic relocation R_PPC_ADDR32 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 libs/ardour/cycle_timer.cc.1.o >>> referenced by cycle_timer.cc >>> libs/ardour/cycle_timer.cc.1.o:(__ftr_fixup+0x1C) --- audio/ardour6/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audio/ardour6/Makefile b/audio/ardour6/Makefile index 7b79edd21da5..b02beff079fa 100644 --- a/audio/ardour6/Makefile +++ b/audio/ardour6/Makefile @@ -61,6 +61,8 @@ CONFIGURE_ARGS_amd64= --arch='-msse -mfpmath=sse -DARCH_X86' --dist-target=x86_6 # only support for i686 or better CONFIGURE_ARGS_i386= --arch='-msse -mfpmath=sse -march=i686 -DARCH_X86' --dist-target=i686 +LDFLAGS_powerpc= -Wl,-z,notext + post-patch: @${REINPLACE_CMD} -e 's/obj\.use = '\''libsmf libpbd'\''/obj\.use = '\''libsmf_internal libpbd'\''/g' ${WRKSRC}/libs/evoral/wscript @${REINPLACE_CMD} -e 's/libsmf\.name = '\''libsmf'\''/libsmf\.name = '\''libsmf_internal'\''/g' ${WRKSRC}/libs/evoral/wscript
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106302038.15UKcIrg038707>