summaryrefslogtreecommitdiff
path: root/dev-lang/ghc/files/ghc-8.10.1-allow-cross-bootstrap.patch
blob: 7495cc8bff8d13e4db32d69fecb08b137ffdea05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Allow using cross-compilers to bootstrap GHC.

In my case I'm using "cross"-compiler from
x86_64-unknown-linux to x86_64-HEAD-linux.

Those targets have the same ABI and can boot one another.
--- a/configure.ac
+++ b/configure.ac
@@ -219,7 +219,7 @@ then
     echo "This GHC (${WithGhc}) does not generate code for the build platform"
     echo "   GHC target platform    : $bootstrap_target"
     echo "   Desired build platform : $BuildPlatform"
-    exit 1
+    #exit 1
 fi
 
 # Testing if we shall enable shared libs support on Solaris.