Date: Mon, 28 Aug 2017 05:34:22 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 220332] lang/python27,33,34,35: "cc: error: unsupported option '-print-multi-os-directory'" Message-ID: <bug-220332-21822-CsXRmxKrZE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-220332-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-220332-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220332 --- Comment #7 from Kubilay Kocak <koobs@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 compi= ler check macro.=20 There is an ac_check_compile_flag macro in the autoconf archive [1] that do= es this.=20 This should be reported and submitted upstream at libffi, and then in Pytho= n 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 --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220332-21822-CsXRmxKrZE>