summaryrefslogtreecommitdiff
path: root/gcc/config/i386/t-svr4
blob: 10b9b4fee00b9c26914b78411b887220a782023d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# CYGNUS LOCAL: entire file
# Don't build libgcc1.a.
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null

# For svr4 we build crtbegin.o and crtend.o which serve to add begin and
# 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