From 0bd690062da1d4e53f7cda384ff1fe04dd1f2a35 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 12 Nov 2016 10:16:53 -0500 Subject: build system: configure: mb_native_os: respect overrides. --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index baac353..c13f5f4 100755 --- a/configure +++ b/configure @@ -330,7 +330,9 @@ native_defaults() # os - mb_native_os=`uname | tr '[:upper:]' '[:lower:]'` + if [ -z "$mb_native_os" ]; then + mb_native_os=`uname | tr '[:upper:]' '[:lower:]'` + fi mb_native_os_sizeof_pointer=`$mb_native_cc -dM -E - < /dev/null \ | awk '$2 == "__SIZEOF_POINTER__" { print $3 }'` -- cgit v1.2.3