diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-17 09:31:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-17 09:31:54 +0100 |
commit | 5a21cec0c36dba03507dcbd5e8ab6698d00b39bf (patch) | |
tree | aa76c2f85f9c77c2f9a5af47ae0aa6509585770a /sys-libs/glibc/glibc-2.38.ebuild | |
parent | 280d9db9f9470686aae5ce1fa4cfa57b26e9beb2 (diff) |
gentoo auto-resync : 17:08:2023 - 09:31:54
Diffstat (limited to 'sys-libs/glibc/glibc-2.38.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-2.38.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
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 |