xf86-video-nvidia/xf86-video-nvidia-legacy: use toolchain linker

This commit is contained in:
mglae 2019-09-25 18:33:12 +02:00
parent c1bb7b94ab
commit ba7ecaa609
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ make_target() {
unset LDFLAGS unset LDFLAGS
cd kernel cd kernel
make module CC=$CC SYSSRC=$(kernel_path) SYSOUT=$(kernel_path) make module CC=${CC} LD=${LD} SYSSRC=$(kernel_path) SYSOUT=$(kernel_path)
$STRIP --strip-debug nvidia.ko $STRIP --strip-debug nvidia.ko
cd .. cd ..
} }

View File

@ -27,7 +27,7 @@ make_target() {
unset LDFLAGS unset LDFLAGS
cd kernel cd kernel
make module CC=$CC SYSSRC=$(kernel_path) SYSOUT=$(kernel_path) make module CC=${CC} LD=${LD} SYSSRC=$(kernel_path) SYSOUT=$(kernel_path)
$STRIP --strip-debug nvidia.ko $STRIP --strip-debug nvidia.ko
cd .. cd ..
} }