aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@mvista.com>2003-03-04 19:44:09 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2003-03-04 19:44:09 +0000
commitdb720d9a74f699c6eac1ae6802d5866c0f55ece1 (patch)
tree548c3ff3293af1f129ac36435973500c8293208f /gcc/gcc.c
parent9124bc53e9ac82035d2820786e1fa37ef4d9c8a1 (diff)
downloadgcc-db720d9a74f699c6eac1ae6802d5866c0f55ece1.zip
gcc-db720d9a74f699c6eac1ae6802d5866c0f55ece1.tar.gz
gcc-db720d9a74f699c6eac1ae6802d5866c0f55ece1.tar.bz2
configure.in: Don't always define TARGET_SYSTEM_ROOT.
* configure.in: Don't always define TARGET_SYSTEM_ROOT. * configure: Regenerated. * gcc.c: Check whether TARGET_SYSTEM_ROOT is defined. From-SVN: r63793
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index a07bd9c..a73985a 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -202,7 +202,11 @@ static int report_times;
/* Nonzero means place this string before uses of /, so that include
and library files can be found in an alternate location. */
+#ifdef TARGET_SYSTEM_ROOT
static const char *target_system_root = TARGET_SYSTEM_ROOT;
+#else
+static const char *target_system_root = 0;
+#endif
/* Nonzero means pass the updated target_system_root to the compiler. */