summaryrefslogtreecommitdiff
path: root/gcc/config/i386/t-crtpic
blob: ff81a9bef9ced7b0a10b768a460f0ca575641f44 (plain)
1
2
3
4
5
6
7
8
9
10
# 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
# 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 -fno-omit-frame-pointer
TARGET_LIBGCC2_CFLAGS = -fPIC