aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-01-18 08:01:49 +0000
committerRon Yorston <rmy@pobox.com>2024-01-18 08:01:49 +0000
commit992387539f26de1aeb2cdca62d85fddbde27b798 (patch)
tree877ac39f317f4ff884103b43d1162221902d39a1 /README
parent99d22da0e95d8356239c63199eb03f70adbf7a61 (diff)
downloadbusybox-w32-992387539f26de1aeb2cdca62d85fddbde27b798.tar.gz
busybox-w32-992387539f26de1aeb2cdca62d85fddbde27b798.tar.bz2
busybox-w32-992387539f26de1aeb2cdca62d85fddbde27b798.zip
build system: more clang/llvm tweaks
Linkers associated with clang/llvm may not support the -r option. This is used to create built-in.o object files. It turns out that all such files in busybox-w32 are either empty or only contain one object file. The first case is already supported and the second can be handled by simply copying the object file to built-in.o. The linker is therefore never invoked with the -r option. One adjustment is required: the workaround adopted for GitHub issue #200 linked the dummy C file with the resource object file. This is no longer done so only one object file is used. Since it was the linking that broke the resource file, copying it is an equally effective fix for the issue. Some old linkers don't support the --warn-common option. The lack of this option was being detected but it was still sometimes used.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions