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),' \