aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2003-03-07 23:10:42 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2003-03-07 23:10:42 +0000
commit6e5c4eaf2d14988795ca342a36c8ceb97d06149f (patch)
treee0f19033a092c5359834a3029af7cb4e54689dac /gcc/objc
parent9a97e40ae1202ee33bd14c477652ef60fdd606ad (diff)
downloadgcc-6e5c4eaf2d14988795ca342a36c8ceb97d06149f.zip
gcc-6e5c4eaf2d14988795ca342a36c8ceb97d06149f.tar.gz
gcc-6e5c4eaf2d14988795ca342a36c8ceb97d06149f.tar.bz2
lang-specs.h (objective-c-header): Use .gch not .pch; support -no-integrated-cpp.
* 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. From-SVN: r63955
Diffstat (limited to 'gcc/objc')
-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 379547f..0e7a46f 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},