summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-12 21:32:41 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-12 21:32:41 +0000
commit021d874e66c98f2b56e84625e7ddf89b60c7ab1f (patch)
tree8ce317028997b7d8326355982e3ac468b092c7a6 /gcc/gcc.c
parent433b60ee4da5592e27a626f5c33537a301381e47 (diff)
downloadgcc-021d874e66c98f2b56e84625e7ddf89b60c7ab1f.tar.gz
* gcc.c (main): Handle target_sysroot_hdrs_suffix being NULL for
some multilibs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122865 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 878f0441229..f2a7d1bc1de 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -6422,7 +6422,9 @@ main (int argc, char **argv)
{
if (*sysroot_hdrs_suffix_spec)
{
- printf("%s\n", target_sysroot_hdrs_suffix);
+ printf("%s\n", (target_sysroot_hdrs_suffix
+ ? target_sysroot_hdrs_suffix
+ : ""));
return (0);
}
else