From 3ab2c4a6e817c174710ed4f067d5d10bd9904df2 Mon Sep 17 00:00:00 2001 From: midipix Date: Dec 11 2018 01:48:59 +0000 Subject: build system: configure: set $mb_native_cc independently of $CC. --- diff --git a/configure b/configure index c75ad17..00f97fe 100755 --- a/configure +++ b/configure @@ -323,13 +323,6 @@ common_defaults() fi fi - # compiler - if [ -n "$mb_compiler" ]; then - if [ -z "$mb_native_cc" ]; then - mb_native_cc=$mb_compiler - fi - fi - # toolchain if [ -z "$mb_toolchain" ]; then mb_toolchain='binutils' @@ -363,7 +356,6 @@ native_defaults() fi # compiler - [ -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=