From 96f342eaa408a066e0af217c11e6c418e5ae7ffb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 16 Dec 2009 13:39:44 +0000 Subject: gcc: fix linker errors on osx with gcc 4.4+ SVN-Revision: 18791 --- toolchain/gcc/patches/4.4.1/106-fix_linker_error.patch | 12 ++++++++++++ toolchain/gcc/patches/4.4.2/106-fix_linker_error.patch | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 toolchain/gcc/patches/4.4.1/106-fix_linker_error.patch create mode 100644 toolchain/gcc/patches/4.4.2/106-fix_linker_error.patch (limited to 'toolchain/gcc/patches') diff --git a/toolchain/gcc/patches/4.4.1/106-fix_linker_error.patch b/toolchain/gcc/patches/4.4.1/106-fix_linker_error.patch new file mode 100644 index 0000000000..57698ea5e9 --- /dev/null +++ b/toolchain/gcc/patches/4.4.1/106-fix_linker_error.patch @@ -0,0 +1,12 @@ +--- a/gcc/cp/Make-lang.in ++++ b/gcc/cp/Make-lang.in +@@ -72,8 +72,7 @@ g++-cross$(exeext): g++$(exeext) + # Shared with C front end: + CXX_C_OBJS = attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o \ + c-dump.o $(CXX_TARGET_OBJS) c-pretty-print.o c-opts.o c-pch.o \ +- incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o \ +- c-gimplify.o c-omp.o tree-inline.o ++ incpath.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o c-omp.o + + # Language-specific object files for C++ and Objective C++. + CXX_AND_OBJCXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \ diff --git a/toolchain/gcc/patches/4.4.2/106-fix_linker_error.patch b/toolchain/gcc/patches/4.4.2/106-fix_linker_error.patch new file mode 100644 index 0000000000..57698ea5e9 --- /dev/null +++ b/toolchain/gcc/patches/4.4.2/106-fix_linker_error.patch @@ -0,0 +1,12 @@ +--- a/gcc/cp/Make-lang.in ++++ b/gcc/cp/Make-lang.in +@@ -72,8 +72,7 @@ g++-cross$(exeext): g++$(exeext) + # Shared with C front end: + CXX_C_OBJS = attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o \ + c-dump.o $(CXX_TARGET_OBJS) c-pretty-print.o c-opts.o c-pch.o \ +- incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o \ +- c-gimplify.o c-omp.o tree-inline.o ++ incpath.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o c-omp.o + + # Language-specific object files for C++ and Objective C++. + CXX_AND_OBJCXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \ -- cgit v1.2.3