mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 04:26:28 +02:00
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
This commit is contained in:
parent
86b2ef4494
commit
2c3b46c7ba
12
toolchain/gcc/patches/4.4.1/106-fix_linker_error.patch
Normal file
12
toolchain/gcc/patches/4.4.1/106-fix_linker_error.patch
Normal file
@ -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 \
|
12
toolchain/gcc/patches/4.4.2/106-fix_linker_error.patch
Normal file
12
toolchain/gcc/patches/4.4.2/106-fix_linker_error.patch
Normal file
@ -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 \
|
Loading…
Reference in New Issue
Block a user