Skip to content

Commit

Permalink
支持 mips 架构识别
Browse files Browse the repository at this point in the history
  • Loading branch information
xicilion committed Aug 12, 2016
1 parent ddb18fd commit f259bcc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fibjs/tools/arch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ set(archdetect_c_code "
#error cmake_ARCH arm
# endif
# if (defined(__MIPSEB__) || defined(__MIPSEL__))
# if defined(__mips64)
#error cmake_ARCH mips64
# else
#error cmake_ARCH arm
# endif
# endif
#if defined(__ppc__) || defined(__ppc) || defined(__powerpc__) \\
|| defined(_ARCH_COM) || defined(_ARCH_PWR) || defined(_ARCH_PPC) \\
|| defined(_M_MPPC) || defined(_M_PPC)
Expand Down

0 comments on commit f259bcc

Please sign in to comment.