summaryrefslogtreecommitdiff
path: root/gcc/objc/lang-specs.h
diff options
context:
space:
mode:
authorbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-10 15:31:28 +0000
committerbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-10 15:31:28 +0000
commit1081359da5465b5055dece032d1beca178780c4a (patch)
tree502e96d4c577db3c656ef0603e5d78b26462053c /gcc/objc/lang-specs.h
parent1f3fe1285784d14a36071a61213599149fe16175 (diff)
downloadgcc-1081359da5465b5055dece032d1beca178780c4a.tar.gz
1999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cppspec.c: Treat two non-option arguments as input and output file. Three or more non-option args is an error. Clean up. * gcc.c (default_compilers): Pass -$ to the preprocessor. * objc/lang-specs.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26872 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc/lang-specs.h')
-rw-r--r--gcc/objc/lang-specs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/objc/lang-specs.h b/gcc/objc/lang-specs.h
index 55a509ee640..d76dee8c3eb 100644
--- a/gcc/objc/lang-specs.h
+++ b/gcc/objc/lang-specs.h
@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
{".m", {"@objective-c"}},
{"@objective-c",
#if USE_CPPLIB
- {"%{E|M|MM:cpp -lang-objc %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\
+ {"%{E|M|MM:cpp -lang-objc %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I\
%{C:%{!E:%eGNU C does not support -C without using -E}}\
%{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\
-D__OBJC__ -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\
@@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */
%{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\
%{!pipe:%g.s} %A\n }}}}"}
#else /* ! USE_CPPLIB */
- {"cpp -lang-objc %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\
+ {"cpp -lang-objc %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I\
%{C:%{!E:%eGNU C does not support -C without using -E}}\
%{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\
-D__OBJC__ -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\