Merge pull request #3869 from mglae/le10_nvidia_ld

xf86-video-nvidia/xf86-video-nvidia-legacy: use toolchain linker
This commit is contained in:
5schatten 2019-10-05 10:54:13 +02:00 committed by GitHub
commit 96737bfb95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ make_target() {
unset LDFLAGS
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
cd ..
}

View File

@ -27,7 +27,7 @@ make_target() {
unset LDFLAGS
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
cd ..
}