summaryrefslogtreecommitdiff
path: root/scripts/build/tools/200-sstrip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/tools/200-sstrip.sh')
-rw-r--r--scripts/build/tools/200-sstrip.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/tools/200-sstrip.sh b/scripts/build/tools/200-sstrip.sh
index 461dfcf..fd7812a 100644
--- a/scripts/build/tools/200-sstrip.sh
+++ b/scripts/build/tools/200-sstrip.sh
@@ -19,7 +19,7 @@ case "${CT_SSTRIP_FROM}" in
( cd "${CT_SRC_DIR}/ELFkickers-${CT_SSTRIP_ELFKICKERS_VERSION}/sstrip"; tar cf - . ) |tar xf -
CT_DoLog EXTRA "Building sstrip"
- CT_DoExecLog ALL make CC="${CT_CC_NATIVE}" sstrip
+ CT_DoExecLog ALL make CC="${CT_HOST}-gcc" sstrip
CT_DoLog EXTRA "Installing sstrip"
CT_DoExecLog ALL install -m 755 sstrip "${CT_PREFIX_DIR}/bin/${CT_TARGET}-sstrip"
@@ -48,7 +48,7 @@ case "${CT_SSTRIP_FROM}" in
cd "${CT_BUILD_DIR}/build-sstrip"
CT_DoLog EXTRA "Building sstrip"
- CT_DoExecLog ALL ${CT_CC_NATIVE} -Wall -o sstrip "${CT_SRC_DIR}/sstrip/sstrip.c"
+ CT_DoExecLog ALL "${CT_HOST}-gcc" -Wall -o sstrip "${CT_SRC_DIR}/sstrip/sstrip.c"
CT_DoLog EXTRA "Installing sstrip"
CT_DoExecLog ALL install -m 755 sstrip "${CT_PREFIX_DIR}/bin/${CT_TARGET}-sstrip"