aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc/lang-specs.h
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-11-29 22:19:28 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-11-29 22:19:28 +0000
commit0eaed3c665d929d927cc9a94eba7819b352b970f (patch)
tree7ef9b7ed6f480f7ae377761c5cf50678c1a104d0 /gcc/objc/lang-specs.h
parentfc81ccd3e5f9ce5a18c2e9e1519634ad9947e430 (diff)
downloadgcc-0eaed3c665d929d927cc9a94eba7819b352b970f.zip
gcc-0eaed3c665d929d927cc9a94eba7819b352b970f.tar.gz
gcc-0eaed3c665d929d927cc9a94eba7819b352b970f.tar.bz2
c-decl.c (c_decode_option): Don't handle -lang-objc.
* c-decl.c (c_decode_option): Don't handle -lang-objc. * objc/lang-options.h: Remove -lang-objc. * objc/lang-specs.h: Don't pass -lang-objc to cc1obj. * objc/objc-act.c (lang_init_options): Set c_language. From-SVN: r37859
Diffstat (limited to 'gcc/objc/lang-specs.h')
-rw-r--r--gcc/objc/lang-specs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/objc/lang-specs.h b/gcc/objc/lang-specs.h
index 6fefc93..e732d00 100644
--- a/gcc/objc/lang-specs.h
+++ b/gcc/objc/lang-specs.h
@@ -29,15 +29,15 @@ Boston, MA 02111-1307, USA. */
%{!E:%{!M:%{!MM:\
%{save-temps:%(trad_capable_cpp) -lang-objc %{ansi:-std=c89}\
%(cpp_options) %b.mi \n\
- cc1obj -fpreprocessed %b.mi -lang-objc %(cc1_options) %{gen-decls}}\
+ cc1obj -fpreprocessed %b.mi %(cc1_options) %{gen-decls}}\
%{!save-temps:\
%{traditional|ftraditional|traditional-cpp:\
tradcpp0 -lang-objc %{ansi:-std=c89} %(cpp_options) %{!pipe:%g.mi} |\n\
- cc1obj -fpreprocessed %{!pipe:%g.mi} -lang-objc %(cc1_options) %{gen-decls}}\
+ cc1obj -fpreprocessed %{!pipe:%g.mi} %(cc1_options) %{gen-decls}}\
%{!traditional:%{!ftraditional:%{!traditional-cpp:\
- cc1obj -lang-objc %{ansi:-std=c89} %(cpp_options) %(cc1_options) %{gen-decls}}}}}\
+ cc1obj %{ansi:-std=c89} %(cpp_options) %(cc1_options) %{gen-decls}}}}}\
%{!fsyntax-only:%(invoke_as)}}}}"},
{".mi", "@objc-cpp-output"},
{"@objc-cpp-output",
- "%{!M:%{!MM:%{!E:cc1obj -lang-objc %i %(cc1_options) %{gen-decls}\
+ "%{!M:%{!MM:%{!E:cc1obj -fpreprocessed %i %(cc1_options) %{gen-decls}\
%{!fsyntax-only:%(invoke_as)}}}}"},