llvm18: disable lto
This commit is contained in:
parent
7f478bb8bd
commit
c0eb9727a4
@ -1,7 +1,7 @@
|
||||
# Template file for 'llvm18'
|
||||
pkgname=llvm18
|
||||
version=18.1.8
|
||||
revision=1
|
||||
revision=2
|
||||
build_wrksrc=llvm
|
||||
build_style=cmake
|
||||
_ext_suffix=".cpython-${py3_ver/./}-linux-${XBPS_TARGET_LIBC/glibc/gnu}.so"
|
||||
@ -54,12 +54,6 @@ if [ "$XBPS_TARGET_WORDSIZE" = "64" ]; then
|
||||
build_options_default+=" flang bolt"
|
||||
fi
|
||||
|
||||
# only use lto on x86_64(-musl), since its probably
|
||||
# not worth the added compile time on non x86_64 archs
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*) build_options_default+=" lto" ;;
|
||||
esac
|
||||
|
||||
# fails to build with libquadmth on musl
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64|i686) makedepends+=" libquadmath-devel" ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user