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/gcc.c | |
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/gcc.c')
-rw-r--r-- | gcc/gcc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |