summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-11 22:26:19 -0500
committermidipix <writeonce@midipix.org>2016-11-11 22:43:29 -0500
commita4c4d9c19be7c485ba907619cccac1044c85e515 (patch)
tree4c7720bda78b298e45073513226d376fcdc9a716 /configure
parentb6a0bd822a6cb7196ab11337af1f9989446bd5f2 (diff)
downloadntcon-a4c4d9c19be7c485ba907619cccac1044c85e515.tar.bz2
ntcon-a4c4d9c19be7c485ba907619cccac1044c85e515.tar.xz
build system: configure: grumpily support crooked uname output.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
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';