On Fri, Dec 19, 2025 at 9:58 PM Mike Gilbert <[email protected]> wrote: > > On Fri, Dec 19, 2025 at 3:23 PM Fabian Groffen <[email protected]> wrote: > > > > Use the proper methods on Darwin and Solaris hosts to get available > > memory and available swap in kibibytes. > > You should probably check CBUILD instead of CHOST; if we are > cross-compiling, you care about the system the software is being built > on, not the system we are targeting.
Or maybe check uname -s? This eclass really has nothing to do with the toolchain, so checking toolchain variables seems weird.
