From: Alexander Malmberg Date: Sat, 19 Jun 2004 23:46:27 +0000 (+0000) Subject: Tidied up/fixed compilation of exception.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5520b936c8cdde4802352b1cf4ce1ba5cacdb294;p=gcc.git Tidied up/fixed compilation of exception.c From-SVN: r83399 --- diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 1c85986c7bd..ef554a7f6a8 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,9 @@ +2004-06-20 Alexander Malmberg + + * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS). + (exception_gc.lo): New. + (OBJS_GC): Add exception_gc.lo. + 2004-06-17 Richard Henderson * exception.c: New file. diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in index 95c94bf44e3..6af980e610b 100644 --- a/libobjc/Makefile.in +++ b/libobjc/Makefile.in @@ -151,7 +151,7 @@ OBJS_GC = archive_gc.lo class_gc.lo encoding_gc.lo gc_gc.lo hash_gc.lo \ init_gc.lo linking_gc.lo misc_gc.lo nil_method_gc.lo \ NXConstStr_gc.lo Object_gc.lo objects_gc.lo Protocol_gc.lo \ sarray_gc.lo selector_gc.lo sendmsg_gc.lo thr_gc.lo \ - $(OBJC_THREAD_FILE)_gc.lo + $(OBJC_THREAD_FILE)_gc.lo exception_gc.lo runtime-info.h: echo "" > tmp-runtime.m @@ -254,6 +254,10 @@ $(OBJC_THREAD_FILE)_gc.lo: $(OBJC_THREAD_FILE).c $(INCLUDES) $< exception.lo: exception.c + $(LIBTOOL_COMPILE) $(CC) -c -o $@ $(ALL_CFLAGS) \ + -fexceptions $(INCLUDES) $< + +exception_gc.lo: exception.c $(LIBTOOL_COMPILE) $(CC) -c -o $@ $(ALL_CFLAGS) $(OBJC_GCFLAGS) \ -fexceptions $(INCLUDES) $<