aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2017-04-20 22:01:50 +0200
committerMarc Vertes <mvertes@free.fr>2017-04-20 22:01:50 +0200
commit0ac29b53dc038408b08e0f8515ae6edabc145f76 (patch)
tree486075117b53ddca84c5d42adb7b8b182277b0ed /lib/Makefile
parent328b826e8a43ed39f9eebb8493cc6abea2ddac1c (diff)
downloadtinycc-0ac29b53dc038408b08e0f8515ae6edabc145f76.tar.gz
tinycc-0ac29b53dc038408b08e0f8515ae6edabc145f76.tar.bz2
Add support of musl-libc
The port is functional. Bound checking is not supported yet.
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 3c5b988..9861743 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -30,6 +30,10 @@ ifeq ($(TARGETOS),Darwin)
BCHECK_O =
endif
+ifeq ($(CONFIG_musl),yes)
+ BCHECK_O =
+endif
+
I386_O = libtcc1.o alloca86.o alloca86-bt.o $(BCHECK_O)
X86_64_O = libtcc1.o alloca86_64.o alloca86_64-bt.o $(BCHECK_O)
ARM_O = libtcc1.o armeabi.o alloca-arm.o