summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-09-24 22:04:59 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:22 -0500
commitb3dff5c78cd9a0baaece412f761a2afdc4e259cf (patch)
treebd44e5b2b4844ea3befa54ee48e5d75aa6efd56e
parent193e5bdec4e7cd8be8586cdcc40c9fdcc8571b60 (diff)
downloadperk-b3dff5c78cd9a0baaece412f761a2afdc4e259cf.tar.bz2
perk-b3dff5c78cd9a0baaece412f761a2afdc4e259cf.tar.xz
build system: document the strict verification of CC.
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 2e1357a..e1651d0 100755
--- a/configure
+++ b/configure
@@ -167,11 +167,12 @@ common_defaults()
native_defaults()
{
- # toolchain
+ # CC (when set, must be valid)
if [ x"$CC" != x ]; then
$CC -dM -E - < /dev/null > /dev/null || exit 2
fi
+ # toolchain
[ -z "$mb_native_cc" ] && mb_native_cc=$CC
[ -z "$mb_native_cc" ] && mb_native_cc='cc'
$mb_native_cc -dM -E - < /dev/null > /dev/null 2>/dev/null || mb_native_cc=