xref: /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/t-libunwind (revision 1debfc3d3fad8af6f31804271c18e67f77b4d718)
1# Use the system libunwind library.
2
3HOST_LIBGCC2_CFLAGS += -DUSE_GAS_SYMVER
4
5LIB2ADDEH = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c \
6  $(srcdir)/unwind-compat.c $(srcdir)/unwind-dw2-fde-compat.c
7LIB2ADDEHSTATIC = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
8
9# Override the default value from t-slibgcc-elf-ver and mention -lunwind
10# so that the resulting libgcc_s.so has the necessary DT_NEEDED entry for
11# libunwind.
12SHLIB_LC = -lunwind -lc
13