aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2011-12-10 07:22:09 +0100
committerThomas Preud'homme <robotux@celest.fr>2012-06-05 23:09:55 +0200
commit7f6095bfec82b178084b22b33941d4f06155e514 (patch)
tree1eb61b34ecfee1afa07159c1b4f97a9483fd8e2a /Makefile
parentbfb00494eb2ffaf4fbf68a8ecabe9e503f4cdf65 (diff)
downloadtinycc-7f6095bfec82b178084b22b33941d4f06155e514.tar.gz
tinycc-7f6095bfec82b178084b22b33941d4f06155e514.tar.bz2
Add support for arm hardfloat calling convention
See Procedure Call Standard for the ARM Architecture (AAPCS) for more details.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 60aabbd..10e1cd4 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,8 @@ NATIVE_DEFINES+=-DWITHOUT_LIBTCC
NATIVE_DEFINES+=$(if $(wildcard /lib/ld-linux.so.3),-DTCC_ARM_EABI)
NATIVE_DEFINES+=$(if $(wildcard /lib/arm-linux-gnueabi),-DCONFIG_MULTIARCHDIR=\"arm-linux-gnueabi\")
NATIVE_DEFINES+=$(if $(shell grep -l "^Features.* \(vfp\|iwmmxt\) " /proc/cpuinfo),-DTCC_ARM_VFP)
+# To use ARM hardfloat calling convension
+#NATIVE_DEFINES+=-DTCC_ARM_HARDFLOAT
endif
ifdef CONFIG_WIN32