diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-10-03 06:11:32 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-10-03 06:11:32 +0200 |
commit | 59fe21c468d852a08847a8bcb62dea56408b510e (patch) | |
tree | df3071607bbcc1b4d6f9742c0385d63dfd1ecb1b | |
parent | cf649082c7d4723c4aedcc59e188c740642db2e3 (diff) |
disable linkage of gcc_eh
As recently discussed on the uClibc mailing list here:
http://lists.uclibc.org/pipermail/uclibc/2014-September/048659.html
I think it is not required for gcc 4.8.3, which is default in
f.e. OpenADK. Tested with a DODEBUG build for x86.
-rw-r--r-- | Rules.mak | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -822,11 +822,7 @@ ASFLAGS += $(ASFLAG_--noexecstack) LIBGCC_CFLAGS ?= $(CFLAGS) $(CPU_CFLAGS-y) $(eval $(call cache-output-var,LIBGCC,$(CC) $(LIBGCC_CFLAGS) -print-libgcc-file-name)) -$(eval $(call cache-output-var,LIBGCC_EH,$(CC) $(LIBGCC_CFLAGS) -print-file-name=libgcc_eh.a)) -# with -O0 we (e.g. lockf) might end up with references to -# _Unwind_Resume, so pull in gcc_eh in this case.. LIBGCC_DIR:=$(dir $(LIBGCC)) -LIBGCC += $(if $(DODEBUG),$(LIBGCC_EH)) # moved from libpthread/linuxthreads ifeq ($(UCLIBC_CTOR_DTOR),y) |