diff options
author | merrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-11-19 04:09:58 +0000 |
---|---|---|
committer | merrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-11-19 04:09:58 +0000 |
commit | b7c87ff22f0902d308f6de7ae5f119d0ca28c720 (patch) | |
tree | ce0413f36fa899efe1a55c1519059e52060d600b /gcc/config/t-svr4 | |
parent | 2ec1d248ac9c07424c7ce1fe34738353ab50f2ea (diff) | |
download | gcc-b7c87ff22f0902d308f6de7ae5f119d0ca28c720.tar.gz |
Shared library support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8519 138bc75d-0d04-0410-961f-82ee72b054a4
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 9560d905521..f060a9d2ec5 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 |