freebsd-nq/usr.bin/xinstall
Mitchell Horne 4d0dc60f14 xinstall: fix invocation of llvm-strip
When executing strip(1), '--' is passed as an argument to explicitly
terminate the getopt(3) loop. The option parsing in llvm-strip doesn't
support this however, so setting XSTRIPBIN=llvm-strip results in an
unsupported argument error. llvm-strip(1) is otherwise
commandline-compatible with FreeBSD's strip(1), so just use the
documented argument format that is common to both.

Special care needs to be taken for filenames beginning with a '-'.

Reviewed by:	arichardson, eugen (earlier version, both)
Discussed with:	jilles
Sponsored by:	NetApp, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D30614
2021-08-30 11:56:10 -03:00
..
tests Fix the tests for install(1): add support for STRIPBIN's -o option. 2020-07-10 22:59:26 +00:00
install.1 Allow install(1)'s create_tempfile() to work on Linux hosts 2020-07-15 17:24:39 +00:00
Makefile Allow boostrapping xinstall on Linux 2019-11-20 17:24:49 +00:00
Makefile.depend
xinstall.c xinstall: fix invocation of llvm-strip 2021-08-30 11:56:10 -03:00