24cf56 build system: configure: grumpily support crooked uname output.

Authored and Committed by midipix 8 years ago
1 file changed. 5 lines added. 0 lines removed.
    build system: configure: grumpily support crooked uname output.
    
        
file modified
+5 -0
configure CHANGED
@@ -347,6 +347,11 @@ native_defaults()
347
347
warning_msg "config error: could not determine size of pointer on native system."
348
348
fi
349
349
350
+ # grumpily support crooked uname output
351
+ if ! [ -f $mb_project_dir/sysinfo/os/$mb_native_os.mk ]; then
352
+ mb_native_os=`echo $mb_native_os | cut -d'_' -f1`
353
+ fi
354
+
350
355
# fallback os recipe
351
356
if ! [ -f $mb_project_dir/sysinfo/os/$mb_native_os.mk ]; then
352
357
mb_native_os='any-os';