From dc5bbad332834841c4e5016db3245cff1d096638 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 12 Mar 2007 21:32:41 +0000 Subject: 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 --- gcc/gcc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/gcc.c') diff --git a/gcc/gcc.c b/gcc/gcc.c index 878f044..f2a7d1b 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 -- cgit v1.1