1 |
commit: 090d76eaa97df4429e3e06c0811d758045539783 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 8 11:14:42 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 8 11:14:42 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=090d76ea |
7 |
|
8 |
crossdev: reenable --with-headers for mingw targets |
9 |
|
10 |
gcc can't build libgcc2.c on --without-headers setup. |
11 |
Needs more investigation. |
12 |
|
13 |
Reported-by: Kyle Elbert |
14 |
Bug: https://bugs.gentoo.org/693770 |
15 |
Bug: https://bugs.gentoo.org/693730 |
16 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
17 |
|
18 |
crossdev | 8 ++++++-- |
19 |
1 file changed, 6 insertions(+), 2 deletions(-) |
20 |
|
21 |
diff --git a/crossdev b/crossdev |
22 |
index 305185a..3c867b5 100755 |
23 |
--- a/crossdev |
24 |
+++ b/crossdev |
25 |
@@ -264,11 +264,15 @@ parse_target() { |
26 |
# these are the mingw64 targets that binutils seems to use |
27 |
x86_64-*-mingw*|*-w64-mingw*) |
28 |
KPKG="[none]"; |
29 |
- LCAT="dev-util"; LPKG="mingw64-runtime";; |
30 |
+ LCAT="dev-util"; LPKG="mingw64-runtime" |
31 |
+ WITH_DEF_HEADERS="yes" # gcc can't boot without headers: bug #693770 |
32 |
+ ;; |
33 |
|
34 |
mingw*|*-mingw*) |
35 |
KCAT="dev-util"; KPKG="w32api"; |
36 |
- LCAT="dev-util"; LPKG="mingw-runtime";; |
37 |
+ LCAT="dev-util"; LPKG="mingw-runtime" |
38 |
+ WITH_DEF_HEADERS="yes" # gcc can't boot without headers: bug #693770 |
39 |
+ ;; |
40 |
|
41 |
msp430*) |
42 |
BVER=">=2.24.90"; |