diff options
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 new file mode 100644 index 000000000..6e75eea1f --- /dev/null +++ b/gcc/config/t-svr4 @@ -0,0 +1,8 @@ +# 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. Likewise for libgcc2.c. + +CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -fPIC +TARGET_LIBGCC2_CFLAGS = -fPIC |