diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-12 21:32:41 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-12 21:32:41 +0000 |
commit | 021d874e66c98f2b56e84625e7ddf89b60c7ab1f (patch) | |
tree | 8ce317028997b7d8326355982e3ac468b092c7a6 /gcc/gcc.c | |
parent | 433b60ee4da5592e27a626f5c33537a301381e47 (diff) | |
download | gcc-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.c | 4 |
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 |