t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
authorLoren J. Rittle <ljrittle@acm.org>
Tue, 22 May 2001 19:10:18 +0000 (19:10 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Tue, 22 May 2001 19:10:18 +0000 (19:10 +0000)
* config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
* config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
-pthread instead setting macro.

Co-Authored-By: David O'Brien <obrien@freebsd.org>
From-SVN: r42461

gcc/ChangeLog
gcc/config/t-freebsd
gcc/config/t-freebsd-thread

index 148f682ea4221ca5d5e1f9b8de5ee6aeec7fb9a6..5934076ee0b3e1063e9cfffbc3203b5920003ed9 100644 (file)
@@ -1,3 +1,10 @@
+2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
+           David O'Brien  <obrien@freebsd.org>
+
+       * config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
+       * config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
+       -pthread instead setting macro.
+
 2001-05-22  Richard Henderson  <rth@redhat.com>
 
        * crtstuff.c (__register_frame_info_bases): Declare.
index 1360ea0e8113ba9bc92d2d6beb8970e94095e251..da9c6429acd0f4276ef173dd38055af571108c57 100644 (file)
@@ -3,3 +3,6 @@ STMP_FIXPROTO =
 
 # Compile crtbeginS.o and crtendS.o with pic.
 CRTSTUFF_T_CFLAGS_S = -fPIC
+
+# Compile libgcc.a with pic.
+TARGET_LIBGCC2_CFLAGS += -fPIC
index 06315c803b066ff60555c9289ad255ab7ab5cd9d..6e5c64f78cfae78cc92beeef7487d12df81bc78e 100644 (file)
@@ -1,4 +1,2 @@
 # This is currently needed to compile libgcc2 for threads support
-TARGET_LIBGCC2_CFLAGS=-pthread
-#T_CFLAGS=-pthread
-#T_CPPFLAGS=-pthread
+TARGET_LIBGCC2_CFLAGS += -pthread