mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-18 23:27:01 +02:00
llvm18: disable lto
This commit is contained in:
parent
7f478bb8bd
commit
c0eb9727a4
1 changed files with 1 additions and 7 deletions
|
@ -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…
Add table
Reference in a new issue