Skip to content

Commit

Permalink
Merge pull request #500 from barracuda156/ppc
Browse files Browse the repository at this point in the history
mlton-script: support powerpc-darwin
  • Loading branch information
MatthewFluet authored Jul 21, 2023
2 parents f0c0049 + 0fcd306 commit 63666ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions bin/mlton-script
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ doit "$lib" \
-target-cc-opt amd64 '-m64' \
-target-cc-opt amd64-darwin '-arch x86_64' \
-target-cc-opt arm64-darwin '-arch arm64' \
-target-cc-opt powerpc-darwin '-arch ppc' \
-target-cc-opt powerpc64-darwin '-arch ppc64' \
-target-cc-opt ia64-hpux "-mlp64" \
-target-cc-opt ia64 "-mtune=itanium2" \
-target-cc-opt sparc '-m32 -mcpu=v8 -Wa,-xarch=v8plusa' \
Expand All @@ -116,6 +118,8 @@ doit "$lib" \
-target-link-opt amd64 '-m64' \
-target-link-opt amd64-darwin '-arch x86_64' \
-target-link-opt arm64-darwin '-arch arm64' \
-target-link-opt powerpc-darwin '-arch ppc' \
-target-link-opt powerpc64-darwin '-arch ppc64' \
-target-link-opt ia64-hpux "-mlp64" \
-target-link-opt linux '-Wl,-znoexecstack' \
-target-link-opt mingw \
Expand Down
2 changes: 1 addition & 1 deletion bin/platform
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ mips*)
HOST_ARCH=mips
;;
powerpc64*)
HOST_ARCH=powerpc64
HOST_ARCH=powerpc64
;;
ppc64*)
HOST_ARCH=powerpc64
Expand Down

0 comments on commit 63666ac

Please sign in to comment.