aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-12-16 13:39:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-12-16 13:39:44 +0000
commit2d6c6c22b48181c3e3337ede9813f0b589a13cc9 (patch)
tree13f72472a8eeb350c71d5ae983350964c96a895c /toolchain/gcc
parent5d6c3b75cbe2276abf67d8055bd7a7aedf194a71 (diff)
downloadupstream-2d6c6c22b48181c3e3337ede9813f0b589a13cc9.tar.gz
upstream-2d6c6c22b48181c3e3337ede9813f0b589a13cc9.tar.bz2
upstream-2d6c6c22b48181c3e3337ede9813f0b589a13cc9.zip
gcc: fix linker errors on osx with gcc 4.4+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18791 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/patches/4.4.1/106-fix_linker_error.patch12
-rw-r--r--toolchain/gcc/patches/4.4.2/106-fix_linker_error.patch12
2 files changed, 24 insertions, 0 deletions
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 \