diff options
author | midipix <writeonce@midipix.org> | 2016-11-11 22:26:19 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 22:43:24 -0500 |
commit | 5e09a1382b597d7c56dc32f8f40f10d600e433a1 (patch) | |
tree | 8b5efe7faf7d98618a41aa8751f35d79e78b70f6 /configure | |
parent | 1c10de26ae6f0a7bf8bc7162e12eab2ca52caf9f (diff) | |
download | ntapi-5e09a1382b597d7c56dc32f8f40f10d600e433a1.tar.bz2 ntapi-5e09a1382b597d7c56dc32f8f40f10d600e433a1.tar.xz |
build system: configure: grumpily support crooked uname output.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -347,6 +347,11 @@ native_defaults() warning_msg "config error: could not determine size of pointer on native system." fi + # grumpily support crooked uname output + if ! [ -f $mb_project_dir/sysinfo/os/$mb_native_os.mk ]; then + mb_native_os=`echo $mb_native_os | cut -d'_' -f1` + fi + # fallback os recipe if ! [ -f $mb_project_dir/sysinfo/os/$mb_native_os.mk ]; then mb_native_os='any-os'; |