OSDN Git Service

PR target/38842
[pf3gnuchains/gcc-fork.git] / gcc / config / t-svr4
index 7b3a641..3ea1174 100644 (file)
@@ -1,7 +1,11 @@
-# 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
-# routines in crtstuff.c.
+# we will be doing that, we just always use -fPIC when compiling the
+# routines in crtstuff.c.  Likewise for libgcc2.c.
 
-CRTSTUFF_T_CFLAGS = -fpic
+CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -fPIC
+TARGET_LIBGCC2_CFLAGS = -fPIC
+
+# See all the declarations.
+FIXPROTO_DEFINES = -D_XOPEN_SOURCE