Commit 28b6b317 by Loren J. Rittle Committed by Loren J. Rittle

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
parent 990101f9
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.
......
......@@ -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
# This is currently needed to compile libgcc2 for threads support
TARGET_LIBGCC2_CFLAGS=-pthread
#T_CFLAGS=-pthread
#T_CPPFLAGS=-pthread
TARGET_LIBGCC2_CFLAGS += -pthread
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment