]> git.ipfire.org Git - thirdparty/gcc.git/commit
Translate built-in include paths for sysroot.
authorHan Shen <shenhan@gcc.gnu.org>
Fri, 6 Jan 2012 00:14:32 +0000 (00:14 +0000)
committerHan Shen <shenhan@gcc.gnu.org>
Fri, 6 Jan 2012 00:14:32 +0000 (00:14 +0000)
commit17719d0974f0a12327950bf25550579d9f7914cc
treeaecf81e21c34cee9bcacb5cb76b633e096d4f169
parentb0c99997cc8ea804facfab420f1d7d1a0ecdbac6
Translate built-in include paths for sysroot.

  gcc/
  * Makefile.in (gcc_gxx_include_dir_add_sysroot): New.
  (PREPROCESSOR_DEFINES): Define GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT.

  * cppdefault.c (cpp_include_defaults): Replace hard coded "0" with
  GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT for "add_sysroot" field.

  * configure.ac (AC_SUBST): Add gcc_gxx_include_dir_add_sysroot to
  control whether sysroot should be prepended to gxx include dir.

  * configure: Regenerate.

From-SVN: r182938
gcc/ChangeLog
gcc/Makefile.in
gcc/configure
gcc/configure.ac
gcc/cppdefault.c