diff options
author | tron <tron> | 2010-06-20 22:20:18 +0000 |
---|---|---|
committer | tron <tron> | 2010-06-20 22:20:18 +0000 |
commit | 8c453e70b12c05e53bb2eb16601774a4d430cfc6 (patch) | |
tree | 9c388927a6cc971a5a9c7cdbdd7f8aa02e5100ff /cross | |
parent | 11113d534564b10af39d5a56711ca2c44c86c81d (diff) | |
download | pkgsrc-8c453e70b12c05e53bb2eb16601774a4d430cfc6.tar.gz |
Fix build problem under Mac OS X Snow Leopard by avoiding to link two
object files twice (once directly and once via static libraries).
Diffstat (limited to 'cross')
-rw-r--r-- | cross/avr-gcc/distinfo | 3 | ||||
-rw-r--r-- | cross/avr-gcc/patches/patch-ac | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/cross/avr-gcc/distinfo b/cross/avr-gcc/distinfo index e2e689ba7c6..4eabb36522b 100644 --- a/cross/avr-gcc/distinfo +++ b/cross/avr-gcc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2009/08/27 15:29:37 hasso Exp $ +$NetBSD: distinfo,v 1.5 2010/06/20 22:20:18 tron Exp $ SHA1 (gcc-core-4.4.1.tar.bz2) = 7e18b5f49b77a78e0ccd31c82c6220c5756da754 RMD160 (gcc-core-4.4.1.tar.bz2) = 6545aea8ad1c9ae55cb0f12991456a0dd3bc490d @@ -8,3 +8,4 @@ RMD160 (gcc-g++-4.4.1.tar.bz2) = 67b2774d14eea8272b214f0d879e70fb6920b3bf Size (gcc-g++-4.4.1.tar.bz2) = 5936040 bytes SHA1 (patch-aa) = 17ee1942842186c4336d72bb8223bdb3023c85c1 SHA1 (patch-ab) = 4a3ab9719a6714933954a120ad8c594c3a4a2e1f +SHA1 (patch-ac) = 14dbe72be88bd6fb0fd8671494454a6d4c11c4b7 diff --git a/cross/avr-gcc/patches/patch-ac b/cross/avr-gcc/patches/patch-ac new file mode 100644 index 00000000000..ea519ab98aa --- /dev/null +++ b/cross/avr-gcc/patches/patch-ac @@ -0,0 +1,17 @@ +$NetBSD: patch-ac,v 1.3 2010/06/20 22:20:18 tron Exp $ + +Avoid linking "tree-inline.o" twice which breaks the build under Mac OS X. + +--- gcc/cp/Make-lang.in.orig 2008-12-05 08:01:58.000000000 +0000 ++++ gcc/cp/Make-lang.in 2010-06-20 23:11:07.000000000 +0100 +@@ -72,8 +72,8 @@ + # 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 \ |