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
This commit is contained in:
Loren J. Rittle 2001-05-22 19:10:18 +00:00 committed by Loren J. Rittle
parent 990101f973
commit 28b6b31799
3 changed files with 11 additions and 3 deletions

View 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.

View 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

View 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