Skip to content

Commit

Permalink
make code compile against arm architecture as a 32 bit architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
crotsos committed Jul 27, 2012
1 parent ff83d81 commit 6ebd829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myocamlbuild.ml
Expand Up @@ -54,7 +54,7 @@ module OS = struct

let arch =
match String.lowercase (Util.run_and_read "uname -m") with
| "x86_32" | "i686" -> X86_32
| "armv5tel" | "x86_32" | "i686" -> X86_32
| "i386" -> (match host with Linux | FreeBSD -> X86_32 | Darwin -> X86_64)
| "x86_64" | "amd64" -> X86_64
| arch -> Unknown_arch arch
Expand Down

0 comments on commit 6ebd829

Please sign in to comment.