mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
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)
This commit is contained in:
parent
82dff0bafe
commit
eb176a659d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user