3ab2c4
build system: configure: set $mb_native_cc independently of $CC.
@@ -323,13 +323,6 @@ common_defaults()
|
|
323
323
|
fi
|
324
324
|
fi
|
325
325
|
|
326
|
-
# compiler
|
327
|
-
if [ -n "$mb_compiler" ]; then
|
328
|
-
if [ -z "$mb_native_cc" ]; then
|
329
|
-
mb_native_cc=$mb_compiler
|
330
|
-
fi
|
331
|
-
fi
|
332
|
-
|
333
326
|
# toolchain
|
334
327
|
if [ -z "$mb_toolchain" ]; then
|
335
328
|
mb_toolchain='binutils'
|
@@ -363,7 +356,6 @@ native_defaults()
|
|
363
356
|
fi
|
364
357
|
|
365
358
|
# compiler
|
366
|
-
[ -z "$mb_native_cc" ] && mb_native_cc=$CC
|
367
359
|
[ -z "$mb_native_cc" ] && mb_native_cc='cc'
|
368
360
|
$mb_native_cc -dM -E - < /dev/null > /dev/null 2>/dev/null || mb_native_cc=
|
369
361
|
|