From b9d41c299fdac31f49becf7d7bc1422e1ecda27b Mon Sep 17 00:00:00 2001 From: midipix Date: Nov 12 2016 03:44:33 +0000 Subject: build system: configure: grumpily support crooked uname output. --- diff --git a/configure b/configure index 98efb4f..baac353 100755 --- a/configure +++ b/configure @@ -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';