aboutsummaryrefslogtreecommitdiff
path: root/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 /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 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3be01b3..c74d833 100644
--- a/Makefile
+++ b/Makefile
@@ -73,6 +73,7 @@ NATIVE_DEFINES_$(CONFIG_i386) += -DTCC_TARGET_I386
NATIVE_DEFINES_$(CONFIG_x86_64) += -DTCC_TARGET_X86_64
NATIVE_DEFINES_$(CONFIG_WIN32) += -DTCC_TARGET_PE
NATIVE_DEFINES_$(CONFIG_uClibc) += -DTCC_UCLIBC
+NATIVE_DEFINES_$(CONFIG_musl) += -DTCC_MUSL
NATIVE_DEFINES_$(CONFIG_arm) += -DTCC_TARGET_ARM
NATIVE_DEFINES_$(CONFIG_arm_eabihf) += -DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT
NATIVE_DEFINES_$(CONFIG_arm_eabi) += -DTCC_ARM_EABI