summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/Makefile.common')
-rw-r--r--mdk-stage1/Makefile.common4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdk-stage1/Makefile.common b/mdk-stage1/Makefile.common
index fc4372851..95bc6d3cb 100644
--- a/mdk-stage1/Makefile.common
+++ b/mdk-stage1/Makefile.common
@@ -26,7 +26,11 @@ else
F = NEWT
endif
+# diet libc syscalls are broken
+ifneq (mips, $(ARCH))
DIET = $(shell test -x /usr/bin/diet && echo diet)
+endif
+
ifeq ($(DIET), diet)
#- default lib is dietlibc (honoured by main Makefile whenever possible)