This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

3.4 PATCH: Pass multilib flags to libobjc


This patch is part of a larger set to integrate support for the IRIX 6 O32
ABI

	http://gcc.gnu.org/ml/gcc-patches/2003-09/msg01065.html

but submitting independent parts individually for ease of review.

The output of gcc -print-objc-runtime-info depends on the multilib in use
(and in fact is different between the O32 and N32/N64 ABIs), so the
relevant flag must be passed down from config-ml.in to the libobjc
Makefile.

Bootstrapped with the entire patchset above (mips-sgi-irix6.5,
mips-sgi-irix6.5o32), ok if no objc regressions?

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University


Fri Sep 12 00:12:52 2003  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* config-ml.in (multi-do): Pass MULTIFLAGS to subdir makes.

	libobjc:
	* Makefile.in (runtime-info.h): Use MULTIFLAGS.

Index: config-ml.in
===================================================================
RCS file: /cvs/gcc/gcc/config-ml.in,v
retrieving revision 1.28
diff -u -p -b -r1.28 config-ml.in
--- config-ml.in	14 Aug 2003 20:44:23 -0000	1.28
+++ config-ml.in	16 Sep 2003 14:00:09 -0000
@@ -553,6 +564,7 @@ multi-do:
 				LIBCFLAGS="$(LIBCFLAGS) $${flags}" \
 				LIBCXXFLAGS="$(LIBCXXFLAGS) $${flags}" \
 				LDFLAGS="$(LDFLAGS) $${flags}" \
+				MULTIFLAGS="$${flags}" \
 				DESTDIR="$(DESTDIR)" \
 				INSTALL="$(INSTALL)" \
 				INSTALL_DATA="$(INSTALL_DATA)" \
Index: libobjc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/libobjc/Makefile.in,v
retrieving revision 1.25
diff -u -p -b -r1.25 Makefile.in
--- libobjc/Makefile.in	28 Aug 2003 01:15:06 -0000	1.25
+++ libobjc/Makefile.in	16 Sep 2003 14:01:28 -0000
@@ -162,7 +162,7 @@ OBJS_GC = archive_gc.lo class_gc.lo enco
 runtime-info.h: 
 	echo "" > tmp-runtime
 	echo "/* This file is automatically generated */" > $@
-	$(CC1OBJ) -print-objc-runtime-info tmp-runtime >> $@
+	$(CC1OBJ) $(MULTIFLAGS) -print-objc-runtime-info tmp-runtime >> $@
 	rm -f tmp-runtime
 
 archive_gc.lo: archive.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]