diff options
author | Iain Sandoe <iains@gcc.gnu.org> | 2010-04-07 10:40:06 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2010-04-07 10:40:06 +0000 |
commit | 6392bea6024d79cc95344b1ed8c1d70a0e669fa0 (patch) | |
tree | bb210b59749de5151ab9af16eb389463943dd3fe /gcc | |
parent | 9d151aff9528cc568ac7f6a9410ea92d81802701 (diff) | |
download | gcc-6392bea6024d79cc95344b1ed8c1d70a0e669fa0.zip gcc-6392bea6024d79cc95344b1ed8c1d70a0e669fa0.tar.gz gcc-6392bea6024d79cc95344b1ed8c1d70a0e669fa0.tar.bz2 |
re PR driver/41594 (-static-libstdc++ is not recognized as valid by the gcc driver.)
2010-04-07 Iain Sandoe <iains@gcc.gnu.org>
PR driver/41594
* gcc.c: Add -static-libstdc++ to list of recognized options.
From-SVN: r158052
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/gcc.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d42f58d..9c4a185 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-04-07 Iain Sandoe <iains@gcc.gnu.org> + + PR driver/41594 + * gcc.c: Add -static-libstdc++ to list of recognized options. + 2010-04-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * config.gcc (i[34567]86-*-solaris2*): Default with_tune_32 to @@ -4558,12 +4558,14 @@ process_command (int argc, const char **argv) switches[n_switches].validated = 0; switches[n_switches].ordering = 0; /* These are always valid, since gcc.c itself understands the - first four and gfortranspec.c understands -static-libgfortran. */ + first four, gfortranspec.c understands -static-libgfortran + and g++spec.c understands -static-libstdc++ */ if (!strcmp (p, "save-temps") || !strcmp (p, "static-libgcc") || !strcmp (p, "shared-libgcc") || !strcmp (p, "pipe") - || !strcmp (p, "static-libgfortran")) + || !strcmp (p, "static-libgfortran") + || !strcmp (p, "static-libstdc++")) switches[n_switches].validated = 1; else { |