1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

comms/flrig: fix build on powerpc64

Add -mminimal-toc to CFLAGS on powerpc64 to fix linking:
/usr/bin/ld: rigs/flrig-TS950.o(.text+0x1c40): sibling call optimization to `_ZN7rigbaseD2Ev' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `_ZN7rigbaseD2Ev' extern

PR:		237816
Approved by:	tcberner (mentor), db (maintainer, via email)
Differential Revision:	https://reviews.freebsd.org/D20217
This commit is contained in:
Piotr Kubaj 2019-05-10 11:16:15 +00:00
parent ed18de7de0
commit 9d7eaa9c4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501167

View File

@ -26,4 +26,6 @@ NATIVE_OPT_DESC= Enable Native Optimizations
NATIVE_OPT_CONFIGURE_ON+= --enable-optimizations=native
NATIVE_OPT_CONFIGURE_OFF+= --enable-optimizations=none
CFLAGS_powerpc64= -mminimal-toc
.include <bsd.port.mk>