This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: -shared-libgcc for libffi
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Subject: Patch: -shared-libgcc for libffi
- From: Tom Tromey <tromey at redhat dot com>
- Date: 22 Mar 2001 18:34:34 -0700
- Reply-To: tromey at redhat dot com
I'm checking this in to both branch and trunk.
This lets us build the libffi test executable in a multilibbed shared
libgcc environment.
2001-03-19 Tom Tromey <tromey@redhat.com>
* Makefile.in: Rebuilt.
* Makefile.am (ffitest_LDFLAGS): New macro.
Tom
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libffi/Makefile.am,v
retrieving revision 1.8
diff -u -r1.8 Makefile.am
--- Makefile.am 2000/05/01 21:35:35 1.8
+++ Makefile.am 2001/03/23 01:21:16
@@ -84,6 +84,7 @@
ffitest_SOURCES = src/ffitest.c
ffitest_LDADD = libffi.la
+ffitest_LDFLAGS = -shared-libgcc
TARGET_SRC_MIPS_GCC = src/mips/ffi.c src/mips/o32.S src/mips/n32.S
TARGET_SRC_MIPS_SGI = src/mips/ffi.c src/mips/o32.s src/mips/n32.s
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/libffi/Makefile.in,v
retrieving revision 1.13
diff -u -r1.13 Makefile.in
--- Makefile.in 2000/09/10 07:45:09 1.13
+++ Makefile.in 2001/03/23 01:21:16
@@ -150,6 +150,7 @@
ffitest_SOURCES = src/ffitest.c
ffitest_LDADD = libffi.la
+ffitest_LDFLAGS = -shared-libgcc
TARGET_SRC_MIPS_GCC = src/mips/ffi.c src/mips/o32.S src/mips/n32.S
TARGET_SRC_MIPS_SGI = src/mips/ffi.c src/mips/o32.s src/mips/n32.s
@@ -217,7 +218,6 @@
am_ffitest_OBJECTS = ffitest.o
ffitest_OBJECTS = $(am_ffitest_OBJECTS)
ffitest_DEPENDENCIES = libffi.la
-ffitest_LDFLAGS =
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CFLAGS = @CFLAGS@