Skip to content

Commit

Permalink
improve to check arch for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jun 27, 2017
1 parent ee75e1e commit 155e9f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tbox/prefix/arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@
# define TB_ARCH_ARM_VERSION (5)
# define TB_ARCH_ARM_v5
# define TB_ARCH_STRING "armv5"
# elif defined(__ARM_ARCH_4T__)
# define TB_ARCH_ARM_VERSION (4)
# define TB_ARCH_ARM_v4t
# define TB_ARCH_STRING "armv4t"
# elif defined(__ARM_ARCH)
# define TB_ARCH_ARM_VERSION __ARM_ARCH
# if __ARM_ARCH >= 8
Expand Down

0 comments on commit 155e9f2

Please sign in to comment.