OSDN Git Service

Fix debian bug 307503, error compiling libatomic-ops package.
[pf3gnuchains/gcc-fork.git] / gcc / config / t-libunwind
1 # Use the system libunwind library.
2 #
3 # Override the default value from t-slibgcc-elf-ver and mention -lunwind
4 # so that the resulting libgcc_s.so has the necessary DT_NEEDED entry for
5 # libunwind.
6 SHLIB_LC = -lunwind -lc
7 LIB2ADDEH = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c \
8   $(srcdir)/unwind-compat.c $(srcdir)/unwind-dw2-fde-compat.c
9 LIB2ADDEHSTATIC = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
10
11 T_CFLAGS += -DUSE_LIBUNWIND_EXCEPTIONS
12 TARGET_LIBGCC2_CFLAGS += -DUSE_GAS_SYMVER