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/i386/t-sol2 | |
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/i386/t-sol2')
-rw-r--r-- | gcc/config/i386/t-sol2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/i386/t-sol2 b/gcc/config/i386/t-sol2 index a669b7c69b0..eddad5d535e 100644 --- a/gcc/config/i386/t-sol2 +++ b/gcc/config/i386/t-sol2 @@ -22,3 +22,11 @@ crti.o: $(srcdir)/config/i386/sol2-ci.asm crtn.o: $(srcdir)/config/i386/sol2-cn.asm sed -e '/^!/d' <$(srcdir)/config/i386/sol2-cn.asm >crtn.s $(AS) -o crtn.o crtn.s + +# 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 |