mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #3887 from mglae/le92_nvidia_ld
xf86-video-nvidia/xf86-video-nvidia-legacy: use toolchain linker
This commit is contained in:
commit
46bd66865e
@ -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 ..
|
||||
}
|
||||
|
@ -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 ..
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user