commit 1a2698569a7e28ce85b34848889ee20f71e9ae40
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Aug 20 08:34:58 2024 +0200
Use make_build macro
nvidia-kmod.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nvidia-kmod.spec b/nvidia-kmod.spec
index 2fdceea..b4759da 100644
--- a/nvidia-kmod.spec
+++ b/nvidia-kmod.spec
@@ -68,7 +68,7 @@ export NV_EXCLUDE_KERNEL_MODULES="${NV_EXCLUDE_KERNEL_MODULES}
nvidia_modeset "
for kernel_version in %{?kernel_versions}; do
pushd _kmod_build_${kernel_version%%___*}/
- make V=1 %{?_smp_mflags} \
+ %make_build \
KERNEL_UNAME="${kernel_version%%___*}"
SYSSRC="${kernel_version##*___}" \
IGNORE_CC_MISMATCH=1 IGNORE_XEN_PRESENCE=1 IGNORE_PREEMPT_RT_PRESENCE=1 \
module
Show replies by date