llvm12: i686 also needs the libc++abi workaround
This commit is contained in:
parent
aecee5c9d5
commit
8de1dce52a
|
@ -210,10 +210,10 @@ post_patch() {
|
||||||
cp $XBPS_COMMONDIR/environment/configure/automake/config.guess \
|
cp $XBPS_COMMONDIR/environment/configure/automake/config.guess \
|
||||||
${wrksrc}/cmake
|
${wrksrc}/cmake
|
||||||
|
|
||||||
# fix linker failures on 32-bit ppc
|
# fix linker failures on some archs
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
ppc64*) ;;
|
ppc64*) ;;
|
||||||
aarch64*|ppc*)
|
aarch64*|ppc*|i686*)
|
||||||
vsed -i 's,check_library_exists(gcc_s .*,set(LIBCXXABI_HAS_GCC_S_LIB ON),' \
|
vsed -i 's,check_library_exists(gcc_s .*,set(LIBCXXABI_HAS_GCC_S_LIB ON),' \
|
||||||
${wrksrc}/projects/libcxxabi/cmake/config-ix.cmake
|
${wrksrc}/projects/libcxxabi/cmake/config-ix.cmake
|
||||||
vsed -i 's,check_library_exists(gcc .*,set(LIBCXXABI_HAS_GCC_LIB ON),' \
|
vsed -i 's,check_library_exists(gcc .*,set(LIBCXXABI_HAS_GCC_LIB ON),' \
|
||||||
|
|
Loading…
Reference in New Issue