aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-08-25 22:20:49 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2015-08-25 22:20:49 +0100
commitde26e2393aec04a14dd98fb7eb87214b73da6a81 (patch)
tree988ca86c26516c81c12d003f423999ce267e66fc /gcc/gcc.c
parent387b37c1acab0791f19cfced1e345543855d764e (diff)
downloadgcc-de26e2393aec04a14dd98fb7eb87214b73da6a81.zip
gcc-de26e2393aec04a14dd98fb7eb87214b73da6a81.tar.gz
gcc-de26e2393aec04a14dd98fb7eb87214b73da6a81.tar.bz2
Fix build for targets not defining EXTRA_SPECS.
* gcc.c (driver::finalize): Only assign to extra_specs if [EXTRA_SPECS]. From-SVN: r227194
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 4c37edc..86c2419 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -9813,7 +9813,9 @@ driver::finalize ()
}
*(sl->ptr_spec) = sl->default_ptr;
}
+#ifdef EXTRA_SPECS
extra_specs = NULL;
+#endif
processing_spec_function = 0;