[Bug 263353] lang/python3*: Fails to link with LTO: Python includes unconditionally adds -g to --with-lto

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 27 Apr 2022 00:05:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263353

Kubilay Kocak <koobs@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #233259|maintainer-approval?(python |maintainer-approval-
              Flags|@FreeBSD.org)               |

--- Comment #13 from Kubilay Kocak <koobs@FreeBSD.org> ---
Comment on attachment 233259
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233259
remove -g from the CFLAGS/LDFLAGS unless WITH_DEBUG is set not empty and not
"no".

(In reply to Matthias Andree from comment #12)

Please provide a patch against all Python port versions for your original
proposal, for all affected Python versions (except python311), and, (if you
would like), a patch against all Python versions removing LTO from
OPTIONS_DEFAULT, resolving this issue as reported, until a correct and complete
change/resolution can be addressed by the team.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.