commit 0a3fe83c17063aa1dad6e5414c10a4247b66c8ec
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Aug 23 08:27:26 2024 +0200
Switch to make_build and un-hardcode CC
nvidia-open-kmod.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nvidia-open-kmod.spec b/nvidia-open-kmod.spec
index 37410a4..56e34b9 100644
--- a/nvidia-open-kmod.spec
+++ b/nvidia-open-kmod.spec
@@ -64,7 +64,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} CC=gcc \
+ %make_build \
KERNEL_UNAME="${kernel_version%%___*}"
SYSSRC="${kernel_version##*___}" \
IGNORE_CC_MISMATCH=1 IGNORE_XEN_PRESENCE=1 IGNORE_PREEMPT_RT_PRESENCE=1 \
modules
Show replies by date