[Bug 220332] lang/python27,33,34,35: "cc: error: unsupported option '-print-multi-os-directory'"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 28 05:34:22 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220332
--- Comment #7 from Kubilay Kocak <koobs at FreeBSD.org> ---
I believe a more correct way scope this block would be to check whether the
compiler supports the flag before using it, rather than using the gnu compiler
check macro.
There is an ac_check_compile_flag macro in the autoconf archive [1] that does
this.
This should be reported and submitted upstream at libffi, and then in Python to
improve 2.7-3.6. Local patches of these upstream patches could be carried if
necessary (if they fix actual issues caused by the bug) in the FreeBSD Ports
until newer versions or libffi/Python are released.
[1]
https://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html#ax_check_compile_flag
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
More information about the freebsd-python
mailing list