summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2013-11-16 12:06:32 (GMT)
committer Jaromil <jaromil@dyne.org>2013-11-16 12:06:32 (GMT)
commite17d0c04e8f5e088b081705114c52560e76b3264 (patch)
treef7abc85082c51760146eb741263a944a509a1a0f
parent20bae00a7690f6f05c55a08fee13b44f44b82ff4 (diff)
renaming of internal variables to avoid conflicts
-rwxr-xr-xwrap/static-cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/wrap/static-cc b/wrap/static-cc
index bea3c1c..fd4c909 100755
--- a/wrap/static-cc
+++ b/wrap/static-cc
@@ -32,9 +32,9 @@ typeset -h argc
# QUIET=1 source ${ZHOME}/zmake source
case `basename $0`; in
- static-cc|cc|gcc) cc=${TOOLCHAIN}/bin/${TARGET}-gcc ;;
- static-c++|c++|g++) cc=${TOOLCHAIN}/bin/${TARGET}-g++ ;;
- static-ld|ld) cc=${TOOLCHAIN}/bin/${TARGET}-ld ;;
+ static-cc|cc|gcc) cc=${TOOLCHAIN}/bin/${ZTARGET}-gcc ;;
+ static-c++|c++|g++) cc=${TOOLCHAIN}/bin/${ZTARGET}-g++ ;;
+ static-ld|ld) cc=${TOOLCHAIN}/bin/${ZTARGET}-ld ;;
*)
echo "Error: unknown command to static wrapper: $0"
exit 1