OSDN Git Service

* lang-specs.h ("@objective-c"): Use cc1obj when -E is used so
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Jan 2005 23:40:43 +0000 (23:40 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Jan 2005 23:40:43 +0000 (23:40 +0000)
        that -fobjc-exceptions is accepted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93670 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/objc/ChangeLog
gcc/objc/lang-specs.h

index 04b94c0..f7ebee3 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-14  Mike Stump  <mrs@apple.com>
+
+       * lang-specs.h ("@objective-c"): Use cc1obj when -E is used so
+       that -fobjc-exceptions is accepted.
+
 2004-12-30  Ziemowit Laski  <zlaski@apple.com>
 
        PR objc/18971
 2004-12-30  Ziemowit Laski  <zlaski@apple.com>
 
        PR objc/18971
index eb9e637..510ad46 100644 (file)
@@ -24,8 +24,8 @@ Boston, MA 02111-1307, USA.  */
 
   {".m", "@objective-c", 0, 0, 0},
   {"@objective-c",
 
   {".m", "@objective-c", 0, 0, 0},
   {"@objective-c",
-     "%{E|M|MM:%(trad_capable_cpp)\
-          -lang-objc %(cpp_options) %(cpp_debug_options)}\
+     "%{E|M|MM:cc1obj -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}\
+          %(cpp_options) %(cpp_debug_options)}\
       %{!E:%{!M:%{!MM:\
        %{traditional|ftraditional|traditional-cpp:\
 %eGNU Objective C no longer supports traditional compilation}\
       %{!E:%{!M:%{!MM:\
        %{traditional|ftraditional|traditional-cpp:\
 %eGNU Objective C no longer supports traditional compilation}\