aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ef66d40..7289b67 100644
--- a/Makefile
+++ b/Makefile
@@ -58,6 +58,11 @@ endif
endif
endif
+ifneq ($(wildcard /lib/ld-uClibc.so.0),)
+NATIVE_TARGET+=-DTCC_UCLIBC
+BCHECK_O=
+endif
+
ifdef CONFIG_USE_LIBGCC
LIBTCC1=
endif