diff options
Diffstat (limited to 'gcc/config/t-freebsd')
-rw-r--r-- | gcc/config/t-freebsd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/t-freebsd b/gcc/config/t-freebsd new file mode 100644 index 000000000..c1b086ea1 --- /dev/null +++ b/gcc/config/t-freebsd @@ -0,0 +1,10 @@ +# Compile crtbeginS.o and crtendS.o with pic. +CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -fPIC + +# Compile libgcc.a with pic. +TARGET_LIBGCC2_CFLAGS += -fPIC + +# Use unwind-dw2-fde-glibc +LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-glibc.c \ + $(srcdir)/unwind-sjlj.c $(srcdir)/gthr-gnat.c $(srcdir)/unwind-c.c +LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c |