Ensure that GHC.Stack.callStack doesn't fail
[ghc.git] / utils / dll-split / ghc.mk
1 # -----------------------------------------------------------------------------
2 #
3 # (c) 2009 The University of Glasgow
4 #
5 # This file is part of the GHC build system.
6 #
7 # To understand how the build system works and how to modify it, see
8 # http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
9 # http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
10 #
11 # -----------------------------------------------------------------------------
12
13 utils/dll-split_USES_CABAL = YES
14 utils/dll-split_PACKAGE = dll-split
15 utils/dll-split_dist-install_PROGNAME = dll-split
16 utils/dll-split_dist-install_INSTALL = NO
17 utils/dll-split_dist-install_INSTALL_INPLACE = YES
18 # Use the stage0 instead of the stage1 compiler to build dll-split, to
19 # prevent: "dll-split: cannot execute binary file: Exec format error".
20 # Programs built with the stage1 compiler can only run on TARGET
21 # architecture, whereas dll-split is used during the GHC build process (see
22 # rules/build-package-way.mk) on the BUILD (=HOST) architectue.
23 $(eval $(call build-prog,utils/dll-split,dist-install,0))