summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-08 13:36:48 -0500
committermidipix <writeonce@midipix.org>2018-12-10 20:48:32 -0500
commit8ae5cd4f6baef4057c157e5d60d49e26358db232 (patch)
tree29d1b44fbe2d423aa879c04256c9292e9564bf8c /configure
parentc03b0cd2b7d8779320e874d07a76439e1bf2d9d3 (diff)
downloadapimagic-8ae5cd4f6baef4057c157e5d60d49e26358db232.tar.bz2
apimagic-8ae5cd4f6baef4057c157e5d60d49e26358db232.tar.xz
build system: configure: set $mb_native_cc independently of $CC.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 0 insertions, 8 deletions
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=