summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/crossgcc/buildgcc3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index e97a651851..e58b23ed45 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -463,7 +463,8 @@ printf "Building IASL ${IASL_VERSION} ... "
rm -f .failed
CFLAGS="$HOSTCFLAGS"
$MAKE || touch .failed
- cp --remove-destination iasl* $DESTDIR$TARGETDIR/bin || touch .failed
+ rm -f $DESTDIR$TARGETDIR/bin/iasl || touch .failed
+ cp iasl $DESTDIR$TARGETDIR/bin || touch .failed
if [ ! -f .failed ]; then touch .success; fi
) &> $IASL_DIR/compiler/crossgcc-build.log
test -r $IASL_DIR/compiler/.failed && printf "${RED}failed${NC}\n" || printf "${green}ok${NC}\n"