diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-lang/ghc/files/ghc-8.10.1-allow-cross-bootstrap.patch | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-lang/ghc/files/ghc-8.10.1-allow-cross-bootstrap.patch')
-rw-r--r-- | dev-lang/ghc/files/ghc-8.10.1-allow-cross-bootstrap.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-lang/ghc/files/ghc-8.10.1-allow-cross-bootstrap.patch b/dev-lang/ghc/files/ghc-8.10.1-allow-cross-bootstrap.patch new file mode 100644 index 000000000000..7495cc8bff8d --- /dev/null +++ b/dev-lang/ghc/files/ghc-8.10.1-allow-cross-bootstrap.patch @@ -0,0 +1,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. |