[MLton-commit] r5005

Vesa Karvonen vesak at mlton.org
Thu Dec 28 17:09:16 PST 2006


Use the new -show path-map switch.
----------------------------------------------------------------------

U   mltonlib/trunk/org/mlton/vesak/libc/unstable/Makefile

----------------------------------------------------------------------

Modified: mltonlib/trunk/org/mlton/vesak/libc/unstable/Makefile
===================================================================
--- mltonlib/trunk/org/mlton/vesak/libc/unstable/Makefile	2006-12-29 00:53:36 UTC (rev 5004)
+++ mltonlib/trunk/org/mlton/vesak/libc/unstable/Makefile	2006-12-29 01:09:14 UTC (rev 5005)
@@ -3,10 +3,8 @@
 # This code is released under the MLton license, a BSD-style license.
 # See the LICENSE file or http://mlton.org/License for details.
 
-target_arch := $(shell mlton -show-path-map true | \
-                       awk '/^TARGET_ARCH/ {print $$2}')
-target_os   := $(shell mlton -show-path-map true | \
-                       awk '/^TARGET_OS/ {print $$2}')
+target_arch := $(shell mlton -show path-map | awk '/^TARGET_ARCH/ {print $$2}')
+target_os   := $(shell mlton -show path-map | awk '/^TARGET_OS/ {print $$2}')
 target_id   := $(target_arch)-$(target_os)
 
 lib_file    := libc-nlffi-$(target_id).a




More information about the MLton-commit mailing list