summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-09-21 20:52:32 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:21 -0500
commitb59520a939af9869f6a0f84848d2be5c59a64fc1 (patch)
tree7ad6be06b439d8480622045812084739b55b0fa4 /configure
parent8eedf233f6e6e284e03dc41c0bd4648aca561fca (diff)
downloadperk-b59520a939af9869f6a0f84848d2be5c59a64fc1.tar.bz2
perk-b59520a939af9869f6a0f84848d2be5c59a64fc1.tar.xz
build system: use toolchain as a build_cc default.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 6538554..49cff50 100755
--- a/configure
+++ b/configure
@@ -155,6 +155,13 @@ common_defaults()
mb_cflags_debug='-g3 -O0'
fi
fi
+
+ # toolchain
+ if [ x"$mb_toolchain" != x ]; then
+ if [ x"$mb_build_cc" = x ]; then
+ mb_build_cc=$mb_toolchain
+ fi
+ fi
}