summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/crossgcc/Makefile1
-rwxr-xr-xutil/crossgcc/buildgcc1
2 files changed, 2 insertions, 0 deletions
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index b4b0223a45..b1fba4ab02 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -76,6 +76,7 @@ clean_tempfiles:
rm -rf llvm-* clang-tools-* cfe-* compiler-rt-*
rm -rf acpica-*
rm -rf gdb-*
+ rm -f getopt
clean: clean_tempfiles
rm -rf xgcc
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index f39c4b6fa9..f4522edcdd 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -280,6 +280,7 @@ cleanup()
for package in $PACKAGES; do
rm -rf build-${TARGETARCH}-$package $(eval echo \$$package"_DIR")
done
+ rm -f getopt
printf "${green}ok${NC}\n"
}