diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2012-08-10 09:58:51 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2012-08-10 09:58:51 +0200 |
commit | f9907d1324368e873a179f65372002634aae0e20 (patch) | |
tree | f388bcafeef0e02efc9048f653f272136856c166 /toolchain/gcc | |
parent | 86ccceb7ca2752ccca08effc89141531a4ab1c49 (diff) | |
parent | 9ea6420f350de09bbcb9d5141dc652ac6637e2a2 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/gcc')
-rw-r--r-- | toolchain/gcc/Makefile | 1 | ||||
-rw-r--r-- | toolchain/gcc/patches/4.6.3/siginfo.patch | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 67a2b1b76..a9f361ffe 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -101,6 +101,7 @@ $(GCC_BUILD_DIR_MINIMAL)/.configured: ln -sf ${STAGING_TARGET_DIR}/include $(STAGING_HOST_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include rm -rf ${STAGING_HOST_DIR}/$(REAL_GNU_TARGET_NAME)/lib ln -sf ${STAGING_TARGET_DIR}/lib $(STAGING_HOST_DIR)/$(REAL_GNU_TARGET_NAME)/lib + sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' $(WRKBUILD)/gcc/configure cd $(GCC_BUILD_DIR_MINIMAL); PATH='$(TARGET_PATH)' \ $(WRKBUILD)/configure \ ${GCC_CONFOPTS} \ diff --git a/toolchain/gcc/patches/4.6.3/siginfo.patch b/toolchain/gcc/patches/4.6.3/siginfo.patch new file mode 100644 index 000000000..6d0b3e9b9 --- /dev/null +++ b/toolchain/gcc/patches/4.6.3/siginfo.patch @@ -0,0 +1,15 @@ +diff -Nur gcc-4.6.3.orig/gcc/config/i386/linux-unwind.h gcc-4.6.3/gcc/config/i386/linux-unwind.h +--- gcc-4.6.3.orig/gcc/config/i386/linux-unwind.h 2011-01-03 21:52:22.000000000 +0100 ++++ gcc-4.6.3/gcc/config/i386/linux-unwind.h 2012-08-02 11:47:11.000000000 +0200 +@@ -133,9 +133,9 @@ + { + struct rt_sigframe { + int sig; +- struct siginfo *pinfo; ++ siginfo_t *pinfo; + void *puc; +- struct siginfo info; ++ siginfo_t info; + struct ucontext uc; + } *rt_ = context->cfa; + /* The void * cast is necessary to avoid an aliasing warning. |