meson.eclass: include ABI in machine file names
authorMike Gilbert <floppym@gentoo.org>
Sun, 3 May 2020 02:26:50 +0000 (22:26 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 3 May 2020 02:26:50 +0000 (22:26 -0400)
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
eclass/meson.eclass

index 323b6ebf09539867db3ffdfcc0f559b084536599..dce5fffd894c3adf01698d43ba03ded6e5fda204 100644 (file)
@@ -165,7 +165,7 @@ _meson_create_cross_file() {
        local system cpu_family cpu
        _meson_get_machine_info "${CHOST}"
 
-       local fn=${T}/meson.${CHOST}.ini
+       local fn=${T}/meson.${CHOST}.${ABI}.ini
 
        cat > "${fn}" <<-EOF
        [binaries]
@@ -215,7 +215,7 @@ _meson_create_native_file() {
        local system cpu_family cpu
        _meson_get_machine_info "${CBUILD}"
 
-       local fn=${T}/meson.${CBUILD}.ini
+       local fn=${T}/meson.${CBUILD}.${ABI}.ini
 
        cat > "${fn}" <<-EOF
        [binaries]