diff options
author | Jason Merrill <merrill@gnu.org> | 1994-11-19 04:09:58 +0000 |
---|---|---|
committer | Jason Merrill <merrill@gnu.org> | 1994-11-19 04:09:58 +0000 |
commit | 68d69835acdbeb2a30bb3338013e55afda1aca4d (patch) | |
tree | ce0413f36fa899efe1a55c1519059e52060d600b /gcc/config/t-svr4 | |
parent | 822ef9dfdac2e3cff805baccbff3937cf3f468cb (diff) | |
download | gcc-68d69835acdbeb2a30bb3338013e55afda1aca4d.zip gcc-68d69835acdbeb2a30bb3338013e55afda1aca4d.tar.gz gcc-68d69835acdbeb2a30bb3338013e55afda1aca4d.tar.bz2 |
Shared library support.
From-SVN: r8519
Diffstat (limited to 'gcc/config/t-svr4')
-rw-r--r-- | gcc/config/t-svr4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/t-svr4 b/gcc/config/t-svr4 index 9560d90..f060a9d 100644 --- a/gcc/config/t-svr4 +++ b/gcc/config/t-svr4 @@ -2,3 +2,11 @@ # end labels to the .ctors and .dtors section when we link using gcc. EXTRA_PARTS=crtbegin.o crtend.o + +# 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 |