scummvm random work
[patches.git] / gcc-default-cross-headers.patch
1 2006-04-30 Mike Frysinger <vapier@gentoo.org>
2
3 * configure.ac: Set default SYSTEM_HEADER_DIR to
4 build_system_header_dir when build != host.
5
6 --- trunk/gcc/configure.ac
7 +++ trunk/gcc/configure.ac
8 @@ -1717,7 +1717,7 @@ then
9 | powerpc*-*-*,powerpc64*-*-*)
10 CROSS="$CROSS -DNATIVE_CROSS" ;;
11 esac
12 -elif test "x$TARGET_SYSTEM_ROOT" != x; then
13 +elif test "x$TARGET_SYSTEM_ROOT" != x -o $build != $host; then
14 SYSTEM_HEADER_DIR=$build_system_header_dir
15 fi
16