xxx-disable-gcc_eh.patch 706 B

1234567891011121314
  1. diff -Nur uClibc-0.9.33.2.orig/Rules.mak uClibc-0.9.33.2/Rules.mak
  2. --- uClibc-0.9.33.2.orig/Rules.mak 2014-06-28 12:12:25.000000000 +0200
  3. +++ uClibc-0.9.33.2/Rules.mak 2014-06-28 12:14:15.000000000 +0200
  4. @@ -819,10 +819,7 @@
  5. LIBGCC_CFLAGS ?= $(CFLAGS) $(CPU_CFLAGS-y)
  6. $(eval $(call cache-output-var,LIBGCC,$(CC) $(LIBGCC_CFLAGS) -print-libgcc-file-name))
  7. $(eval $(call cache-output-var,LIBGCC_EH,$(CC) $(LIBGCC_CFLAGS) -print-file-name=libgcc_eh.a))
  8. -# with -O0 we (e.g. lockf) might end up with references to
  9. -# _Unwind_Resume, so pull in gcc_eh in this case..
  10. LIBGCC_DIR:=$(dir $(LIBGCC))
  11. -LIBGCC += $(if $(DODEBUG),$(LIBGCC_EH))
  12. # moved from libpthread/linuxthreads
  13. ifeq ($(UCLIBC_CTOR_DTOR),y)