aboutsummaryrefslogtreecommitdiff
path: root/comms/flrig
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-05-10 11:16:15 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-05-10 11:16:15 +0000
commit9d7eaa9c4cb53988352b0fe17f5482eba6916a75 (patch)
tree4062ceffe51f8239b0f31cb03aa1de633ffcd937 /comms/flrig
parented18de7de0ee1fdda14cd441bc4ed0bdce02621c (diff)
downloadports-9d7eaa9c4cb53988352b0fe17f5482eba6916a75.tar.gz
ports-9d7eaa9c4cb53988352b0fe17f5482eba6916a75.zip
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
Notes
Notes: svn path=/head/; revision=501167
Diffstat (limited to 'comms/flrig')
-rw-r--r--comms/flrig/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/comms/flrig/Makefile b/comms/flrig/Makefile
index 207d410912db..ffd631c4890e 100644
--- a/comms/flrig/Makefile
+++ b/comms/flrig/Makefile
@@ -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>