Revert "xbps_init: autodetect musl libc variant at compile time."

This reverts commit 7f75fd840a.
This commit is contained in:
Duncan Overbruck
2021-02-04 22:40:09 +01:00
parent 6518107579
commit 93410bee7f
3 changed files with 4 additions and 15 deletions

View File

@ -105,12 +105,6 @@ xbps_init(struct xbps_handle *xhp)
if (xbps_strlcpy(xhp->native_arch, un.machine,
sizeof xhp->native_arch) >= sizeof xhp->native_arch)
return ENOBUFS;
#if defined(__linux__) && !defined(__GLIBC__)
/* musl libc on linux, just append -musl */
if (xbps_strlcat(xhp->native_arch, "-musl",
sizeof xhp->native_arch) >= sizeof xhp->native_arch)
return ENOBUFS;
#endif
}
assert(*xhp->native_arch);