Sync with Github

Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
Piotr Gorski 2023-11-01 11:53:06 +01:00
parent 1f97e1e69a
commit 4f6599e43b
No known key found for this signature in database
GPG Key ID: 79AFA05ABDB26C5A

View File

@ -297,6 +297,12 @@ prepare() {
_die "ZFS and bcachefs support cannot be built at the same time. " _die "ZFS and bcachefs support cannot be built at the same time. "
fi fi
### Prevent ZFS and LTO building at the same time
# More infos here: https://github.com/openzfs/zfs/issues/15384
if [[ "$_use_llvm_lto" != "none" && -n "$_build_zfs" ]]; then
_die "ZFS and LTO support cannot be built at the same time. "
fi
### Selecting CachyOS config ### Selecting CachyOS config
if [ -n "$_cachy_config" ]; then if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..." echo "Enabling CachyOS config..."
@ -666,7 +672,7 @@ build() {
make ${BUILD_FLAGS[*]} ${MODULE_FLAGS[*]} -j$(nproc) modules make ${BUILD_FLAGS[*]} ${MODULE_FLAGS[*]} -j$(nproc) modules
fi fi
if [ -n "$_build_zfs" ]; then if [[ "$_cpusched" != "rt" && -n "$_build_zfs" ]]; then
cd ${srcdir}/"zfs" cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=() local CONFIGURE_FLAGS=()