git: 4d0dc60f1401 - main - xinstall: fix invocation of llvm-strip

Ed Maste emaste at freebsd.org
Wed Sep 1 00:40:06 UTC 2021


On Mon, 30 Aug 2021 at 11:24, Ed Maste <emaste at freebsd.org> wrote:
>
> GNU strip also handles --, so ideally we'd have llvm-strip also accept
> it. Given plans to switch to the LLVM version of various binutils
> (D31060) we should aim for as complete command-line compatibility as
> possible. I've added a note to this effect in D31060.

It looks like llvm-strip (main) supports -- now:

$ llvm-strip11 -o /dev/null -- /usr/bin/true
llvm-strip: error: unknown argument '--'
$ ~/src/llvm-project/build/bin/llvm-strip -o /dev/null -- /usr/bin/true
$ echo $?
0

so I expect this will be supported by the time we're ready to switch
to llvm-binutils


More information about the dev-commits-src-all mailing list