Use -fPIC instead of -fpic

From-SVN: r9178
This commit is contained in:
Jason Merrill 1995-03-13 23:11:08 +00:00
parent 0f07e76ca7
commit a9cd52eb9d
4 changed files with 12 additions and 12 deletions

View File

@ -1,9 +1,9 @@
# The pushl in CTOR initialization interferes with frame pointer elimination.
# We need to use -fpic when we are using gcc to compile the routines in
# 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
# we will be doing that, we just always use -fPIC when compiling the
# routines in crtstuff.c.
CRTSTUFF_T_CFLAGS = -fpic -fno-omit-frame-pointer
CRTSTUFF_T_CFLAGS = -fPIC -fno-omit-frame-pointer

View File

@ -23,10 +23,10 @@ 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
# 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
# we will be doing that, we just always use -fPIC when compiling the
# routines in crtstuff.c.
CRTSTUFF_T_CFLAGS = -fpic
CRTSTUFF_T_CFLAGS = -fPIC

View File

@ -17,14 +17,14 @@ crti.o: $(srcdir)/config/sparc/sol2-ci.asm
crtn.o: $(srcdir)/config/sparc/sol2-cn.asm
$(AS) -o crtn.o $(srcdir)/config/sparc/sol2-cn.asm
# We need to use -fpic when we are using gcc to compile the routines in
# 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
# we will be doing that, we just always use -fPIC when compiling the
# routines in crtstuff.c.
# Since the GNU assembler doesn't support PIC yet, we need to force gcc to
# use the native assembler when building crtstuff. If we're a
# cross-compiler, just give up on using PIC.
CRTSTUFF_T_CFLAGS = `if [ -z "$(CROSS)" ]; then echo -fpic -B/usr/ccs/bin/; fi`
CRTSTUFF_T_CFLAGS = `if [ -z "$(CROSS)" ]; then echo -fPIC -B/usr/ccs/bin/; fi`

View File

@ -1,7 +1,7 @@
# We need to use -fpic when we are using gcc to compile the routines in
# 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
# we will be doing that, we just always use -fPIC when compiling the
# routines in crtstuff.c.
CRTSTUFF_T_CFLAGS = -fpic
CRTSTUFF_T_CFLAGS = -fPIC