diff options
author | midipix <writeonce@midipix.org> | 2015-09-24 22:04:59 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:22 -0500 |
commit | b3dff5c78cd9a0baaece412f761a2afdc4e259cf (patch) | |
tree | bd44e5b2b4844ea3befa54ee48e5d75aa6efd56e /configure | |
parent | 193e5bdec4e7cd8be8586cdcc40c9fdcc8571b60 (diff) | |
download | perk-b3dff5c78cd9a0baaece412f761a2afdc4e259cf.tar.bz2 perk-b3dff5c78cd9a0baaece412f761a2afdc4e259cf.tar.xz |
build system: document the strict verification of CC.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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= |