aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2012-12-04 11:17:51 +0100
committerThomas Preud'homme <robotux@celest.fr>2012-12-04 11:17:51 +0100
commitc4a18f47a24ccc1345944120faf52a983be8fa33 (patch)
tree9f592816925cb3f4315ae8248c2b9a97d760c4a5 /tcc.h
parent8d90205fd933fbc8d36c935840d584a019a6be52 (diff)
downloadtinycc-c4a18f47a24ccc1345944120faf52a983be8fa33.tar.gz
tinycc-c4a18f47a24ccc1345944120faf52a983be8fa33.tar.bz2
Detect ARM CPU version in configure
Instead of guessing the ARM CPU version to compile for from tcc.h, we now detect it in configure and output the value in config.h
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/tcc.h b/tcc.h
index 9e7c574..9f81858 100644
--- a/tcc.h
+++ b/tcc.h
@@ -105,14 +105,6 @@
#define TCC_TARGET_I386
#endif
-#if defined (TCC_TARGET_ARM) && !defined(TCC_ARM_VERSION)
- #ifdef TCC_ARM_HARDFLOAT
- #define TCC_ARM_VERSION 7
- #else
- #define TCC_ARM_VERSION 4
- #endif
-#endif
-
#if !defined(TCC_UCLIBC) && !defined(TCC_TARGET_ARM) && \
!defined(TCC_TARGET_C67) && !defined(TCC_TARGET_X86_64)
#define CONFIG_TCC_BCHECK /* enable bound checking code */