aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2001-05-22 19:10:18 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2001-05-22 19:10:18 +0000
commit28b6b31799b98a58f7407a3135c506f63b3a0df3 (patch)
tree62da00ba6d2e068ce305e10388610eb7974b29c6 /gcc
parent990101f9738d06674ef25141d0903a5ffb1dd690 (diff)
downloadgcc-28b6b31799b98a58f7407a3135c506f63b3a0df3.zip
gcc-28b6b31799b98a58f7407a3135c506f63b3a0df3.tar.gz
gcc-28b6b31799b98a58f7407a3135c506f63b3a0df3.tar.bz2
t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/t-freebsd3
-rw-r--r--gcc/config/t-freebsd-thread4
3 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 148f682..5934076 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/t-freebsd b/gcc/config/t-freebsd
index 1360ea0..da9c642 100644
--- a/gcc/config/t-freebsd
+++ b/gcc/config/t-freebsd
@@ -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
diff --git a/gcc/config/t-freebsd-thread b/gcc/config/t-freebsd-thread
index 06315c8..6e5c64f 100644
--- a/gcc/config/t-freebsd-thread
+++ b/gcc/config/t-freebsd-thread
@@ -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