Page MenuHomeFreeBSD

usr.bin/Makefile: always build ELF Tool Chain strings
ClosedPublic

Authored by emaste on Thu, Mar 20, 5:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 30, 11:07 AM
Unknown Object (File)
Wed, Mar 26, 7:21 PM
Unknown Object (File)
Wed, Mar 26, 12:49 AM
Unknown Object (File)
Sun, Mar 23, 9:42 AM
Unknown Object (File)
Sat, Mar 22, 4:15 PM
Unknown Object (File)
Sat, Mar 22, 2:26 PM
Unknown Object (File)
Sat, Mar 22, 12:40 AM
Unknown Object (File)
Fri, Mar 21, 10:52 PM
Subscribers

Details

Summary

strings(1) is not conditional on WITH_/WITHOUT_TOOLCHAIN, as it is a small utility that is also useful outside of the toolchain context.

After switching to WITH_LLVM_BINUTILS by default (1cae7121c667), building world with default options and installing WITHOUT_TOOLCHAIN failed, because we would build LLVM's strings but attempt to install ELF Tool Chain's version. Address this by always including ELF Tool Chain strings in non-install make targets.

PR: 285556
Reported by: Michael Butler

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable