diff options
Diffstat (limited to 'src/runtime/c/configure.ac')
| -rw-r--r-- | src/runtime/c/configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/runtime/c/configure.ac b/src/runtime/c/configure.ac index 2ead33e3d..f8f641c21 100644 --- a/src/runtime/c/configure.ac +++ b/src/runtime/c/configure.ac @@ -46,9 +46,11 @@ case "$target_cpu" in x86_64) cpu=i386; AC_DEFINE(LIGHTNING_I386, 1, [Define if lightning is targeting the x86 architecture]) ;; sparc*) cpu=sparc; AC_DEFINE(LIGHTNING_SPARC, 1, - [Define if lightning is targeting the x86 architecture]) ;; + [Define if lightning is targeting the sparc architecture]) ;; powerpc) cpu=ppc; AC_DEFINE(LIGHTNING_PPC, 1, - [Define if lightning is targeting the x86 architecture]) ;; + [Define if lightning is targeting the powerpc architecture]) ;; + arm*) cpu=arm; AC_DEFINE(LIGHTNING_ARM, 1, + [Define if lightning is targeting the arm architecture]) ;; *) AC_MSG_ERROR([cpu $target_cpu not supported]) ;; esac |
