From 8de1dce52a4d75896520b45f59b287ed9493d442 Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 18 May 2021 02:37:22 +0200 Subject: [PATCH] llvm12: i686 also needs the libc++abi workaround --- srcpkgs/llvm12/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/llvm12/template b/srcpkgs/llvm12/template index ea5bed8e609..ce1abfdc731 100644 --- a/srcpkgs/llvm12/template +++ b/srcpkgs/llvm12/template @@ -210,10 +210,10 @@ post_patch() { cp $XBPS_COMMONDIR/environment/configure/automake/config.guess \ ${wrksrc}/cmake - # fix linker failures on 32-bit ppc + # fix linker failures on some archs case "$XBPS_TARGET_MACHINE" in ppc64*) ;; - aarch64*|ppc*) + aarch64*|ppc*|i686*) vsed -i 's,check_library_exists(gcc_s .*,set(LIBCXXABI_HAS_GCC_S_LIB ON),' \ ${wrksrc}/projects/libcxxabi/cmake/config-ix.cmake vsed -i 's,check_library_exists(gcc .*,set(LIBCXXABI_HAS_GCC_LIB ON),' \