commit: 51ce26ce6dd264cab35669505333ce7bea95b545 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Oct 28 01:57:42 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Oct 28 01:57:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51ce26ce
sys-devel/flex: drop obsolete cross malloc workaround We set the right bits in crossdev for musl targets now and, in theory, while unlikely, it is possible that some cross targets don't have the right behaviour anyway (not that i'm aware of any in use). Bug: https://bugs.gentoo.org/705800 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-devel/flex/flex-2.6.4-r4.ebuild | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sys-devel/flex/flex-2.6.4-r4.ebuild b/sys-devel/flex/flex-2.6.4-r4.ebuild index 0fb0e60d9372..14ad4c2ba6b1 100644 --- a/sys-devel/flex/flex-2.6.4-r4.ebuild +++ b/sys-devel/flex/flex-2.6.4-r4.ebuild @@ -56,15 +56,6 @@ src_configure() { } multilib_src_configure() { - if tc-is-cross-compiler ; then - # Similar to workaround for procps: - # - bug #705800 - # - https://sourceforge.net/p/psmisc/bugs/71/ - # - https://lists.gnu.org/archive/html/autoconf/2011-04/msg00019.html - export ac_cv_func_malloc_0_nonnull=yes \ - ac_cv_func_realloc_0_nonnull=yes - fi - # Do not install shared libs, #503522 ECONF_SOURCE="${S}" econf \ CC_FOR_BUILD="$(tc-getBUILD_CC)" \
