Page MenuHomeFreeBSD

comms/flrig: fix build on powerpc64
ClosedPublic

Authored by pkubaj on May 9 2019, 8:43 PM.

Details

Summary

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: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237816

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pkubaj created this revision.May 9 2019, 8:43 PM
This revision is now accepted and ready to land.May 10 2019, 4:33 AM
This revision was automatically updated to reflect the committed changes.