On Sunday, 18 January 2026 03:59:56 EST, James Le Cuirot wrote:
> +meson_add_machine_file() {
> + local file=${T}/meson.${CHOST}.${ABI}.${1}.ini
> + cat > "${file}" || die
> +
> + if tc-is-cross-compiler || [[ ${ABI} != "${DEFAULT_ABI}" ]]; then
> + emesonargs+=( --cross-file "${file}" )
> + else
> + emesonargs+=( --native-file "${file}" )
> + fi
> +}
You are naming the custom native file inappropriately. The custom native file
should be named "${T}/meson.${CBUILD}.${1}.ini" (${CBUILD} instead of ${CHOST},
and no ${ABI}).