Add PIZZA_ROOT_PREFIX support.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/pf3gnuchains/trunk@13
dabda00f-5829-0410-a8ea-
e5f24da5a5ee
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
+/*
+ * This code was added PIZZA_ROOT_PREFIX hack
+ * by Masaki Muranka (monaka@monami-software.com)
+ */
#include "config.h"
#include "system.h"
#include "coretypes.h"
sanitize_cpp_opts ();
+ if (!iprefix) {
+ iprefix = getenv("PIZZA_ROOT_PREFIX");
+ }
+
register_include_chains (parse_in, sysroot, iprefix, imultilib,
std_inc, std_cxx_inc && c_dialect_cxx (), verbose);