]> git.proxmox.com Git - mirror_zfs.git/commit
Support uClibc for the tests compilations
authorJosé Luis Salvador Rufo <salvador.joseluis@gmail.com>
Wed, 17 Feb 2021 05:51:46 +0000 (06:51 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Feb 2021 05:51:46 +0000 (21:51 -0800)
commitaef1830f932c3499cb5430b4c1bd9d21f87808f3
tree75ae5a5d52d913daa643d06d46499c7ffa2f6f28
parent436ab35a53bad83c3dc4b8f1dc2b6ad00bd5e9ec
Support uClibc for the tests compilations

There are two issues that don't allow ZFS to be compiled using uClibc.
`backtrace()`, and `program_invocation_short_name` as a `const`.
This patch adds uClibc to the conditionals in the same way there are
already for Glibc for `backtrace()`; and removes the external param
`program_invocation_short_name` because its only used here for the
whole project.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Closes #11600
cmd/ztest/ztest.c
tests/zfs-tests/cmd/xattrtest/xattrtest.c