summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-25 21:20:49 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-25 21:20:49 +0000
commitfac94f482a6f1ea0eef64a0dc082280857dcaba9 (patch)
tree988ca86c26516c81c12d003f423999ce267e66fc /gcc/gcc.c
parentb35f0c3b39ae6c59052c761b1207debb11f68810 (diff)
downloadgcc-fac94f482a6f1ea0eef64a0dc082280857dcaba9.tar.gz
Fix build for targets not defining EXTRA_SPECS.
* gcc.c (driver::finalize): Only assign to extra_specs if [EXTRA_SPECS]. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227194 138bc75d-0d04-0410-961f-82ee72b054a4
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 4c37edcedcc..86c24192aab 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;