This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
libobjc buglet
- To: gcc-patches at gcc dot gnu dot org
- Subject: libobjc buglet
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 21 Sep 1999 07:48:53 -0600
- Reply-To: law at cygnus dot com
Nick's change to the argument processing exposed a latent bug :-)
The Objective-C runtime was passing -fgnu-runtime to the compiler when
building C code. Opps.
* Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
the compiler when building C code.
Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libobjc/Makefile.in,v
retrieving revision 1.12
diff -c -3 -p -r1.12 Makefile.in
*** Makefile.in 1999/09/07 05:49:18 1.12
--- Makefile.in 1999/09/21 13:48:07
*************** encoding_gc.o: encoding.c
*** 147,156 ****
$(CC) -c -o $@ $(ALL_CFLAGS) $(OBJC_GCFLAGS) $(INCLUDES) $<
gc.o: gc.c
! $(CC) -fgnu-runtime -c -o $@ $(ALL_CFLAGS) $(INCLUDES) $<
gc_gc.o: gc.c
! $(CC) -fgnu-runtime -c -o $@ $(ALL_CFLAGS) $(OBJC_GCFLAGS) \
$(INCLUDES) $<
hash_gc.o: hash.c
--- 147,156 ----
$(CC) -c -o $@ $(ALL_CFLAGS) $(OBJC_GCFLAGS) $(INCLUDES) $<
gc.o: gc.c
! $(CC) -c -o $@ $(ALL_CFLAGS) $(INCLUDES) $<
gc_gc.o: gc.c
! $(CC) -c -o $@ $(ALL_CFLAGS) $(OBJC_GCFLAGS) \
$(INCLUDES) $<
hash_gc.o: hash.c