summaryrefslogtreecommitdiff
path: root/gcc/objc/lang-specs.h
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-07 23:10:42 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-07 23:10:42 +0000
commit66ac76fd66904ba0cd892865fc58d564205f679d (patch)
treee0f19033a092c5359834a3029af7cb4e54689dac /gcc/objc/lang-specs.h
parent4a794c146e58f10506aa21f59926fc535123fab2 (diff)
downloadgcc-66ac76fd66904ba0cd892865fc58d564205f679d.tar.gz
* objc/lang-specs.h (objective-c-header): Use .gch not .pch;
support -no-integrated-cpp. * c-pch.c (get_ident): Use c_language_kind and flag_objc rather than langhooks.name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63955 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc/lang-specs.h')
-rw-r--r--gcc/objc/lang-specs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/objc/lang-specs.h b/gcc/objc/lang-specs.h
index 379547f789e..0e7a46f5dae 100644
--- a/gcc/objc/lang-specs.h
+++ b/gcc/objc/lang-specs.h
@@ -44,11 +44,11 @@ Boston, MA 02111-1307, USA. */
%{!E:%{!M:%{!MM:\
%{traditional|ftraditional|traditional-cpp:\
%eGNU Objective C no longer supports traditional compilation}\
- %{save-temps:cc1obj -E %(cpp_options) %b.mi \n\
+ %{save-temps|no-integrated-cpp:cc1obj -E %(cpp_options) %b.mi \n\
cc1obj -fpreprocessed %b.mi %(cc1_options) %{gen-decls}\
- -o %g.s %{!o*:--output-pch=%i.pch}\
+ -o %g.s %{!o*:--output-pch=%i.gch}\
%W{o*:--output-pch=%*}%V}\
- %{!save-temps:\
+ %{!save-temps:%{!no-integrated-cpp:\
cc1obj %(cpp_unique_options) %(cc1_options) %{gen-decls}\
- -o %g.s %{!o*:--output-pch=%i.pch}\
- %W{o*:--output-pch=%*}%V}}}}", 0},
+ -o %g.s %{!o*:--output-pch=%i.gch}\
+ %W{o*:--output-pch=%*}%V}}}}}", 0},