commit:     090d76eaa97df4429e3e06c0811d758045539783
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  8 11:14:42 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Sep  8 11:14:42 2019 +0000
URL:        https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=090d76ea

crossdev: reenable --with-headers for mingw targets

gcc can't build libgcc2.c on --without-headers setup.
Needs more investigation.

Reported-by: Kyle Elbert
Bug: https://bugs.gentoo.org/693770
Bug: https://bugs.gentoo.org/693730
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 crossdev | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/crossdev b/crossdev
index 305185a..3c867b5 100755
--- a/crossdev
+++ b/crossdev
@@ -264,11 +264,15 @@ parse_target() {
                # these are the mingw64 targets that binutils seems to use
                x86_64-*-mingw*|*-w64-mingw*)
                      KPKG="[none]";
-                     LCAT="dev-util"; LPKG="mingw64-runtime";;
+                     LCAT="dev-util"; LPKG="mingw64-runtime"
+                     WITH_DEF_HEADERS="yes" # gcc can't boot without headers: 
bug #693770
+                     ;;
 
                mingw*|*-mingw*)
                      KCAT="dev-util"; KPKG="w32api";
-                     LCAT="dev-util"; LPKG="mingw-runtime";;
+                     LCAT="dev-util"; LPKG="mingw-runtime"
+                     WITH_DEF_HEADERS="yes" # gcc can't boot without headers: 
bug #693770
+                     ;;
 
                msp430*)
                      BVER=">=2.24.90";

Reply via email to