diff options
Diffstat (limited to 'rules')
-rw-r--r-- | rules/cross-compiling.mk | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/rules/cross-compiling.mk b/rules/cross-compiling.mk deleted file mode 100644 index 520b5c13cf..0000000000 --- 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 |