summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-03 20:25:30 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-03 20:25:30 +0000
commit408ebd8b33c5ab1ccd4375fd1a6f094113be81d8 (patch)
tree9766a5509411918c087f5e725764de5fcbbf6068 /gcc/gcc.c
parent714f6439febbbb1bc56e17f109771652bcb0bf3b (diff)
downloadgcc-408ebd8b33c5ab1ccd4375fd1a6f094113be81d8.tar.gz
Fix build breakage on darwin introduced by me in r215861
gcc/ChangeLog: * gcc.c (driver::global_initializations): Remove "const" so that GCC_DRIVER_HOST_INITIALIZATION can modify decoded_options and decoded_options_count. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215877 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index f53b92ffd12..71c76f844d1 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -6737,7 +6737,7 @@ class driver
void set_progname (const char *argv0) const;
void expand_at_files (int *argc, char ***argv) const;
void decode_argv (int argc, const char **argv);
- void global_initializations () const;
+ void global_initializations ();
void build_multilib_strings () const;
void set_up_specs () const;
void putenv_COLLECT_GCC (const char *argv0) const;
@@ -6848,7 +6848,7 @@ driver::decode_argv (int argc, const char **argv)
/* Perform various initializations and setup. */
void
-driver::global_initializations () const
+driver::global_initializations ()
{
/* Unlock the stdio streams. */
unlock_std_streams ();