summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojciech Meyer <wojciech.meyer@gmail.com>2013-07-01 21:33:21 +0000
committerWojciech Meyer <wojciech.meyer@gmail.com>2013-07-01 21:33:21 +0000
commit21b780c0a56311eb8ac473ababe4a66db00df911 (patch)
treeb7a8cf335a5e9275e5333307f619ee5fab57547c /Makefile
parent70659109f26c5eaccc4471485bc0f5ff02f93ef2 (diff)
downloadocaml-21b780c0a56311eb8ac473ababe4a66db00df911.tar.gz
configure: store $target and $host in the build configuration (fix-pt2). (Patch by Adrien Nader!)
Fixing builds continued. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13866 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4db6026ae3..4b47c52df6 100644
--- a/Makefile
+++ b/Makefile
@@ -430,6 +430,8 @@ utils/config.ml: utils/config.mlp config/Makefile
-e 's|%%MKDLL%%|$(MKDLL)|' \
-e 's|%%MKEXE%%|$(MKEXE)|' \
-e 's|%%MKMAINDLL%%|$(MKMAINDLL)|' \
+ -e 's|%%HOST%%|$(HOST)|' \
+ -e 's|%%TARGET%%|$(TARGET)|' \
utils/config.mlp > utils/config.ml
@chmod -w utils/config.ml