From 51ce26ce6dd264cab35669505333ce7bea95b545 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 28 Oct 2022 02:57:42 +0100 Subject: 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 --- sys-devel/flex/flex-2.6.4-r4.ebuild | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sys-devel/flex') 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)" \ -- cgit v1.2.3-65-gdbad