summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2011-09-17 12:15:44 +0200
committerThomas Schwinge <thomas@schwinge.name>2011-09-17 12:15:44 +0200
commit449432bcb6a22971a886858cba4c3f0653260949 (patch)
tree72679ffe3cd0585a7a91d7edf1a6ec9d89d12b33
parentebf1a414018fa7881f4a1974f8d0753748a85ea2 (diff)
Create the directory in which GCC's fixincludes expects to find the headers.
-rwxr-xr-xcross-gnu3
1 files changed, 3 insertions, 0 deletions
diff --git a/cross-gnu b/cross-gnu
index 2499bc8be..790a09336 100755
--- a/cross-gnu
+++ b/cross-gnu
@@ -282,6 +282,9 @@ if ./config.status --version > /dev/null 2>&1; then :; else
--enable-languages=c,c++ \
--with-arch=i686
fi &&
+# ``The directory that should contain system headers does not exist:
+# $SYS_ROOT/usr/include''.
+mkdir -p "$SYS_ROOT"/usr/include &&
"$MAKE" \
all &&
# Remove the bogus libgcc_eh, libgcc and libgcov that may have been installed