aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-09-08 12:14:42 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-09-08 12:14:42 +0100
commit090d76eaa97df4429e3e06c0811d758045539783 (patch)
tree3b1f1af9fb985a0210db991344e4d4b4cc046da5
parentcrossdev: whitespace in gcc stages (diff)
downloadcrossdev-090d76eaa97df4429e3e06c0811d758045539783.tar.gz
crossdev-090d76eaa97df4429e3e06c0811d758045539783.tar.bz2
crossdev-090d76eaa97df4429e3e06c0811d758045539783.zip
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@gentoo.org>
-rwxr-xr-xcrossdev8
1 files 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";