blob: 27e11bd9a250515df9225bb409db14b36f80f6a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# -----------------------------------------------------------------------------
#
# (c) 2009 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
#
# -----------------------------------------------------------------------------
utils/dll-split_USES_CABAL = YES
utils/dll-split_PACKAGE = dll-split
utils/dll-split_dist-install_PROGNAME = dll-split
utils/dll-split_dist-install_INSTALL = NO
utils/dll-split_dist-install_INSTALL_INPLACE = YES
# Use the stage0 instead of the stage1 compiler to build dll-split, to
# prevent: "dll-split: cannot execute binary file: Exec format error".
# Programs built with the stage1 compiler can only run on TARGET
# architecture, whereas dll-split is used during the GHC build process (see
# rules/build-package-way.mk) on the BUILD (=HOST) architectue.
$(eval $(call build-prog,utils/dll-split,dist-install,0))
|