summaryrefslogtreecommitdiff
path: root/util/crossgcc
diff options
context:
space:
mode:
Diffstat (limited to 'util/crossgcc')
-rwxr-xr-xutil/crossgcc/buildgcc5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 40444a5541..a298dbae66 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -23,6 +23,11 @@
CROSSGCC_DATE="October 10th, 2011"
CROSSGCC_VERSION="1.05"
+# To enable colors on dash(1)
+if [ -x /usr/bin/printf ]; then
+alias printf=/usr/bin/printf
+fi
+
# default settings
TARGETDIR=`pwd`/xgcc
TARGETARCH=i386-elf