Commit dc5bbad3 by Joseph Myers Committed by Joseph Myers

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
parent 814bcb14
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment