[MLton-commit] r7257
Wesley Terpstra
wesley at mlton.org
Tue Oct 13 11:07:06 PDT 2009
HP-UX and linux have conflicting needs for IA64 options.
----------------------------------------------------------------------
U mlton/trunk/bin/mlton-script
----------------------------------------------------------------------
Modified: mlton/trunk/bin/mlton-script
===================================================================
--- mlton/trunk/bin/mlton-script 2009-10-13 17:33:31 UTC (rev 7256)
+++ mlton/trunk/bin/mlton-script 2009-10-13 18:07:05 UTC (rev 7257)
@@ -12,6 +12,9 @@
mingw)
exe='.exe'
;;
+hpux)
+ ia64hpux="-mlp64"
+;;
*)
exe=''
;;
@@ -110,7 +113,7 @@
-target-cc-opt netbsd '-I/usr/pkg/include' \
-target-cc-opt openbsd '-I/usr/local/include' \
-target-cc-opt aix '-maix64' \
- -target-cc-opt ia64 '-mtune=itanium2' \
+ -target-cc-opt ia64 "$ia64hpux -mtune=itanium2" \
-target-cc-opt sparc '-m32 -mcpu=v8 -Wa,-xarch=v8plusa' \
-target-cc-opt x86 \
'-m32
@@ -125,7 +128,7 @@
-target-link-opt darwin "$darwinLinkOpts" \
-target-link-opt freebsd '-L/usr/local/lib/' \
-target-link-opt aix '-maix64' \
- -target-link-opt ia64 '-mlp64' \
+ -target-link-opt ia64 "$ia64hpux" \
-target-link-opt mingw \
'-lws2_32 -lkernel32 -lpsapi -lnetapi32 -lwinmm' \
-target-link-opt mingw '-Wl,--enable-stdcall-fixup' \
More information about the MLton-commit
mailing list