summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-12 10:16:53 -0500
committermidipix <writeonce@midipix.org>2016-11-12 10:20:00 -0500
commit14986a861d43cadcd870cc1613709775f06e3418 (patch)
treed72d338e0e21ea9ee8910d69c420db98eb3cdc33 /configure
parentadf9ad3a53032bbadfc45bb6703974e6de9bc2cf (diff)
downloadperk-14986a861d43cadcd870cc1613709775f06e3418.tar.bz2
perk-14986a861d43cadcd870cc1613709775f06e3418.tar.xz
build system: configure: mb_native_os: respect overrides.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
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 }'`