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

This reverts commit 7f75fd840a.
This commit is contained in:
Duncan Overbruck committed 2021-02-04 22:41:21 +01:00
1 parent 6518107579
commit 93410bee7f
3 files changed
+4 -15

No files matched your search

-6
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);