Merge pull request #3887 from mglae/le92_nvidia_ld

xf86-video-nvidia/xf86-video-nvidia-legacy: use toolchain linker
This commit is contained in:
CvH 2019-10-14 20:51:49 +02:00 committed by GitHub
commit 46bd66865e
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 ..
}