aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgrischka <grischka>2009-05-16 22:29:40 +0200
committergrischka <grischka>2009-05-16 22:29:40 +0200
commit68310299b67bef763ba1622dac2aec534e096bf1 (patch)
treea9a645d367324d9abb01a6138bbfc91e1accc628 /Makefile
parentbf8d8f5f3e0a15c790adeb13eae68091d52fb58f (diff)
downloadtinycc-68310299b67bef763ba1622dac2aec534e096bf1.tar.gz
tinycc-68310299b67bef763ba1622dac2aec534e096bf1.tar.bz2
ulibc: #define TCC_UCLIBC and load elf_interp
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