From 3c78a1ce7924fbf571e133e697f8a29e18d2bf4b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 30 Sep 2023 17:40:25 +0100 Subject: gentoo auto-resync : 30:09:2023 - 17:40:25 --- eclass/Manifest.gz | Bin 39134 -> 39133 bytes eclass/toolchain.eclass | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'eclass') diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz index ae12265db7de..89318aa8492e 100644 Binary files a/eclass/Manifest.gz and b/eclass/Manifest.gz differ diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 90576f2067ea..8df8b506b0b1 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1693,7 +1693,9 @@ gcc_do_make() { # XXX: Hack for bug #914881, clean this up when fixed and go back # to just calling get_abi_LDFLAGS as before. local abi_ldflags="$(get_abi_LDFLAGS ${TARGET_DEFAULT_ABI})" - printf -v abi_ldflags -- "-Wl,%s " ${abi_ldflags} + if [[ -n ${abi_ldflags} ]] ; then + printf -v abi_ldflags -- "-Wl,%s " ${abi_ldflags} + fi # If the host compiler is too old, let's use -O0 per the upstream # default to be safe (to avoid a bootstrap comparison failure later). -- cgit v1.2.3