summaryrefslogtreecommitdiff
path: root/gcc/cross-make
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cross-make')
-rw-r--r--gcc/cross-make3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cross-make b/gcc/cross-make
index 5e5a93fb44e..810f5051a63 100644
--- a/gcc/cross-make
+++ b/gcc/cross-make
@@ -12,7 +12,8 @@ RANLIB = $(RANLIB_FOR_TARGET)
RANLIB_TEST = $(RANLIB_TEST_FOR_TARGET)
# Dir to search for system headers. Normally /usr/include.
-SYSTEM_HEADER_DIR = $(tooldir)/include
+# Use CROSS_INCLUDE_DIR not TOOL_INCLUDE_DIR for other vendor's headers.
+SYSTEM_HEADER_DIR = $(tooldir)/sys-include
# Don't try to compile the things we can't compile.
ALL = all.cross