summaryrefslogtreecommitdiff
path: root/gcc/objc/lang-specs.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-21 18:12:24 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-21 18:12:24 +0000
commitfe382a1764405446d4c4c307ef264fd7e9f711aa (patch)
treeff215fbaa9e457ee500a62cbd58e5883dffdc8b7 /gcc/objc/lang-specs.h
parentccfaa228a9fc40ab3669a28cba40ec1843e5cc17 (diff)
downloadgcc-fe382a1764405446d4c4c307ef264fd7e9f711aa.tar.gz
* lang-specs.h: Do not process -o or run the assembler if
-fsyntax-only. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35853 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc/lang-specs.h')
-rw-r--r--gcc/objc/lang-specs.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/objc/lang-specs.h b/gcc/objc/lang-specs.h
index b0fea5257d4..ccd91940116 100644
--- a/gcc/objc/lang-specs.h
+++ b/gcc/objc/lang-specs.h
@@ -25,19 +25,19 @@ Boston, MA 02111-1307, USA. */
{"@objective-c",
#if USE_CPPLIB
"%{E|M|MM:cpp0 -lang-objc %{ansi:-std=c89} %(cpp_options)}\
- %{!E:%{!M:%{!MM:cc1obj -lang-objc %(cpp_options) %(cc1_options)\
- %{gen-decls} %{!S:-o %{|!pipe:%g.s} |\n\
- as %(asm_options) %{!pipe:%g.s} %A }}}}"
+ %{!E:%{!M:%{!MM:cc1obj -lang-objc %(cpp_options) %(cc1_options) %{gen-decls}\
+ %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
+ as %(asm_options) %{!pipe:%g.s} %A }}}}}"
#else /* ! USE_CPPLIB */
"%(trad_capable_cpp) -lang-objc %{ansi:-std=c89} %(cpp_options)\
%{!M:%{!MM:%{!E:%{!pipe:%g.mi} |\n\
cc1obj -lang-objc %{!pipe:%g.mi} %(cc1_options) %{gen-decls}\
- %{!S:-o %{|!pipe:%g.s} |\n\
- as %(asm_options) %{!pipe:%g.s} %A }}}}\n"
+ %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
+ as %(asm_options) %{!pipe:%g.s} %A }}}}}\n"
#endif /* ! USE_CPPLIB */
},
{".mi", "@objc-cpp-output"},
{"@objc-cpp-output",
"%{!M:%{!MM:%{!E:cc1obj -lang-objc %i %(cc1_options) %{gen-decls}\
- %{!S:-o %{|!pipe:%g.s} |\n\
- as %(asm_options) %{!pipe:%g.s} %A }}}}"},
+ %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
+ as %(asm_options) %{!pipe:%g.s} %A }}}}}"},