From 5a21cec0c36dba03507dcbd5e8ab6698d00b39bf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 17 Aug 2023 09:31:54 +0100 Subject: gentoo auto-resync : 17:08:2023 - 09:31:54 --- sys-libs/glibc/glibc-2.38.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys-libs/glibc/glibc-2.38.ebuild') diff --git a/sys-libs/glibc/glibc-2.38.ebuild b/sys-libs/glibc/glibc-2.38.ebuild index 4e348b241285..c80a8e763200 100644 --- a/sys-libs/glibc/glibc-2.38.ebuild +++ b/sys-libs/glibc/glibc-2.38.ebuild @@ -653,8 +653,8 @@ setup_env() { export CXX="${glibc__GLIBC_CXX} ${glibc__abi_CFLAGS} ${CFLAGS}" if is_crosscompile; then - # Assume worst-case bootstrap: glibc is buil first time - # when ${CTARGET}-g++ is not available yet. We avoid + # Assume worst-case bootstrap: glibc is built for the first time + # with ${CTARGET}-g++ not available yet. We avoid # building auxiliary programs that require C++: bug #683074 # It should not affect final result. export libc_cv_cxx_link_ok=no @@ -1089,7 +1089,7 @@ glibc_do_configure() { # add x32 to it, gcc/glibc don't yet support x32. # if [[ -n ${GCC_BOOTSTRAP_VER} ]] && use multilib-bootstrap ; then - echo 'main(){}' > "${T}"/test.c + echo 'int main(void){}' > "${T}"/test.c || die if ! $(tc-getCC ${CTARGET}) ${CFLAGS} ${LDFLAGS} "${T}"/test.c -Wl,-emain -lgcc 2>/dev/null ; then sed -i -e '/^CC = /s:$: -B$(objdir)/../'"gcc-multilib-bootstrap-${GCC_BOOTSTRAP_VER}/${ABI}:" config.make || die fi -- cgit v1.2.3