diff options
author | Joseph Myers <joseph@codesourcery.com> | 2007-03-12 21:32:41 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2007-03-12 21:32:41 +0000 |
commit | dc5bbad332834841c4e5016db3245cff1d096638 (patch) | |
tree | 8ce317028997b7d8326355982e3ac468b092c7a6 /gcc | |
parent | 814bcb146bb5ac7662c6c9a8ea9253c89924325b (diff) | |
download | gcc-dc5bbad332834841c4e5016db3245cff1d096638.zip gcc-dc5bbad332834841c4e5016db3245cff1d096638.tar.gz gcc-dc5bbad332834841c4e5016db3245cff1d096638.tar.bz2 |
gcc.c (main): Handle target_sysroot_hdrs_suffix being NULL for some multilibs.
* gcc.c (main): Handle target_sysroot_hdrs_suffix being NULL for
some multilibs.
From-SVN: r122865
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/gcc.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 85c05fb..3abf3ed 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-03-12 Joseph Myers <joseph@codesourcery.com> + + * gcc.c (main): Handle target_sysroot_hdrs_suffix being NULL for + some multilibs. + 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com> PR 30635 @@ -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 |