]> git.pld-linux.org Git - packages/zfs.git/commitdiff
set KERNEL_CC and kernel arch auto/th/zfs-2.2.2-1
authorJan Palus <atler@pld-linux.org>
Wed, 20 Dec 2023 19:31:32 +0000 (20:31 +0100)
committerJan Palus <atler@pld-linux.org>
Wed, 20 Dec 2023 19:31:32 +0000 (20:31 +0100)
zfs.spec

index 07a675f6e4b38e4717bc48ebf136326c98ea3671..7bd749b5a6a72a80e766944eaa6521475bd8cc2f 100644 (file)
--- a/zfs.spec
+++ b/zfs.spec
@@ -41,7 +41,7 @@ URL:          https://zfsonlinux.org/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: libtool
-BuildRequires: rpmbuild(macros) >= 2.025
+BuildRequires: rpmbuild(macros) >= 2.030
 %if %{with kernel}
 %{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}
 %endif
@@ -256,7 +256,10 @@ pakietu kernel%{_alt_kernel} w wersji %{_kernel_ver}.\
 %{nil}
 
 %define build_kernel_pkg()\
+KERNEL_MAKE="ARCH=%_kernel_arch" \\\
 %configure \\\
+       KERNEL_CC="%{__cc}" \\\
+       ARCH_UM="ARCH=%{_kernel_arch}" \\\
        --disable-silent-rules \\\
        --with-config="kernel" \\\
        --with-linux=%{_kernelsrcdir}\\\
This page took 0.470829 seconds and 4 git commands to generate.