[commit: ghc] master: Build system: delete two unused files (f70f1b6)
git at git.haskell.org
git at git.haskell.org
Tue Jul 14 08:24:56 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/f70f1b656b6c3d5eef2f1a545876774047338ad1/ghc
>---------------------------------------------------------------
commit f70f1b656b6c3d5eef2f1a545876774047338ad1
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date: Mon Jul 13 11:34:17 2015 +0200
Build system: delete two unused files
They were introduced in 6ae696a1d1f25bf52923a3dd1c3b4a08e2033bfd. We do
cross-compilation differently now.
>---------------------------------------------------------------
f70f1b656b6c3d5eef2f1a545876774047338ad1
ghc/ghc-cross.wrapper | 1 -
rules/cross-compiling.mk | 24 ------------------------
2 files changed, 25 deletions(-)
diff --git a/ghc/ghc-cross.wrapper b/ghc/ghc-cross.wrapper
deleted file mode 100644
index 56564e5..0000000
--- a/ghc/ghc-cross.wrapper
+++ /dev/null
@@ -1 +0,0 @@
-exec "$executablename" -B"$topdir" ${1+"$@"} -pgma "$pgmgcc" -pgmc "$pgmgcc" -pgml "$pgmgcc"
diff --git a/rules/cross-compiling.mk b/rules/cross-compiling.mk
deleted file mode 100644
index 520b5c1..0000000
--- a/rules/cross-compiling.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-# -----------------------------------------------------------------------------
-#
-# (c) 2012 The University of Glasgow
-#
-# This file is part of the GHC build system.
-#
-# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
-#
-# -----------------------------------------------------------------------------
-
-define cross-compiling # $1 = then, $2 = else, $3 = then, ...
-ifneq "$(TARGETPLATFORM)" "$(HOSTPLATFORM)"
-ifneq "$(BUILDPLATFORM)" "$(HOSTPLATFORM)"
-$(warning When cross-compiling, the build and host platforms must be equal (--build=$(BUILDPLATFORM) --host=$(HOSTPLATFORM) --target=$(TARGETPLATFORM)))
-endif
-$1
-$3
-else
-$2
-$4
-endif
-endef
More information about the ghc-commits
mailing list