summaryrefslogtreecommitdiff
path: root/scripts/build/debug/200-duma.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-14 05:24:16 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-14 05:47:07 (GMT)
commitc1612e92956d8f289c3779ff1366af873afbb7c3 (patch)
tree4eede13bbbffbb06dc3a1259eba3f4b4b96d16c7 /scripts/build/debug/200-duma.sh
parentd34a6bd8a0222fadfc86795f65ca9a7df232324d (diff)
Use ${CT_CC} instead of gcc ...
... when refering to target's compiler. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/debug/200-duma.sh')
-rw-r--r--scripts/build/debug/200-duma.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/debug/200-duma.sh b/scripts/build/debug/200-duma.sh
index 0e5291c..7196fcf 100644
--- a/scripts/build/debug/200-duma.sh
+++ b/scripts/build/debug/200-duma.sh
@@ -40,9 +40,9 @@ do_debug_duma_build() {
libs="${libs# }"
CT_DoLog EXTRA "Building libraries '${libs}'"
CT_DoExecLog ALL \
- make HOSTCC="${CT_BUILD}-gcc" \
- CC="${CT_TARGET}-gcc" \
- CXX="${CT_TARGET}-gcc" \
+ make HOSTCC="${CT_BUILD}-gcc" \
+ CC="${CT_TARGET}-${CT_CC}" \
+ CXX="${CT_TARGET}-g++" \
RANLIB="${CT_TARGET}-ranlib" \
DUMA_CPP="${DUMA_CPP}" \
${libs}