From 021d874e66c98f2b56e84625e7ddf89b60c7ab1f Mon Sep 17 00:00:00 2001 From: jsm28 Date: Mon, 12 Mar 2007 21:32:41 +0000 Subject: * 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 --- 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 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 -- cgit v1.2.1