aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c4
1 files changed, 3 insertions, 1 deletions
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