diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -168,6 +168,10 @@ common_defaults() native_defaults() { # toolchain + if [ x"$CC" != x ]; then + $CC -dM -E - < /dev/null > /dev/null || exit 2 + fi + [ -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= |