llvm12: i686 also needs the libc++abi workaround

This commit is contained in:
q66 2021-05-18 02:37:22 +02:00
parent aecee5c9d5
commit 8de1dce52a
1 changed files with 2 additions and 2 deletions

View File

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