t-libunwind 447 B

123456789101112
  1. # Use the system libunwind library.
  2. HOST_LIBGCC2_CFLAGS += -DUSE_GAS_SYMVER
  3. LIB2ADDEH = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c \
  4. $(srcdir)/unwind-compat.c $(srcdir)/unwind-dw2-fde-compat.c
  5. LIB2ADDEHSTATIC = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
  6. # Override the default value from t-slibgcc-elf-ver and mention -lunwind
  7. # so that the resulting libgcc_s.so has the necessary DT_NEEDED entry for
  8. # libunwind.
  9. SHLIB_LC = -lunwind -lc