From 68d69835acdbeb2a30bb3338013e55afda1aca4d Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sat, 19 Nov 1994 04:09:58 +0000 Subject: Shared library support. From-SVN: r8519 --- gcc/config/m88k/t-sysv4 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gcc/config/m88k/t-sysv4') diff --git a/gcc/config/m88k/t-sysv4 b/gcc/config/m88k/t-sysv4 index 419a9db..6a77edb 100644 --- a/gcc/config/m88k/t-sysv4 +++ b/gcc/config/m88k/t-sysv4 @@ -12,3 +12,11 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh LIB2FUNCS_EXTRA = $(MOVE_ASM) LIBGCC1 = libgcc1.null CROSS_LIBGCC1 = libgcc1.null + +# We need to use -fpic when we are using gcc to compile the routines in +# crtstuff.c. This is only really needed when we are going to use gcc/g++ +# to produce a shared library, but since we don't know ahead of time when +# we will be doing that, we just always use -fpic when compiling the +# routines in crtstuff.c. + +CRTSTUFF_T_CFLAGS=-fpic -- cgit v1.1