Tidied up/fixed compilation of exception.c

From-SVN: r83399
This commit is contained in:
Alexander Malmberg 2004-06-19 23:46:27 +00:00 committed by Nicola Pero
parent 7c34ced1a2
commit 5520b936c8
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-06-20 Alexander Malmberg <alexander@malmberg.org>
* Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
(exception_gc.lo): New.
(OBJS_GC): Add exception_gc.lo.
2004-06-17 Richard Henderson <rth@redhat.com>
* exception.c: New file.

View File

@ -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) $<