aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-03-05 13:54:12 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-03-05 13:54:12 +0000
commitab786753630bf36ee477f7590eabf0a55bdd3796 (patch)
tree462cd45ebf85d8309ac14a1527b577c8ea861ddf /gcc/gcc.c
parent8a6a52dcb9b0a1f64fcaee58936fc84d416c7651 (diff)
downloadgcc-ab786753630bf36ee477f7590eabf0a55bdd3796.zip
gcc-ab786753630bf36ee477f7590eabf0a55bdd3796.tar.gz
gcc-ab786753630bf36ee477f7590eabf0a55bdd3796.tar.bz2
re PR driver/13577 (multiple -o options with -c cause unrecognized option `-strip')
PR 13577 * gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o options. From-SVN: r78966
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 9538c62..71be65b 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -768,7 +768,7 @@ static const char *cpp_debug_options = "%{d*}";
static const char *cc1_options =
"%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
%1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*}\
- -auxbase%{c|S:%{o*:-strip %*}%{!o*: %b}}%{!c:%{!S: %b}}\
+ %{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}}\
%{g*} %{O*} %{W*&pedantic*} %{w} %{std*} %{ansi}\
%{v:-version} %{pg:-p} %{p} %{f*} %{undef}\
%{Qn:-fno-ident} %{--help:--help}\