Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/cocom/files: cocom-0.996-configure.patch
Date: Tue, 01 Sep 2009 13:22:54
Message-Id: E1MiY8p-0000HG-Ng@stork.gentoo.org
1 jer 09/09/01 18:31:39
2
3 Added: cocom-0.996-configure.patch
4 Log:
5 Respect CC (bug #243986 while linking) and LDFLAGS.
6 (Portage version: 2.2_rc40/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 dev-util/cocom/files/cocom-0.996-configure.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cocom/files/cocom-0.996-configure.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cocom/files/cocom-0.996-configure.patch?rev=1.1&content-type=text/plain
13
14 Index: cocom-0.996-configure.patch
15 ===================================================================
16 --- cocom-0.996/configure.orig 2007-02-08 19:25:24.000000000 +0100
17 +++ cocom-0.996/configure 2009-09-01 20:21:04.000000000 +0200
18 @@ -5474,7 +5474,7 @@
19 Linux*)
20 GCC_FPIC=-fPIC
21 LIB_SUFFIX=so
22 - MAKELIB="gcc -shared -Wl,-soname,\\\$\$0 -o \\\$\$0"
23 + MAKELIB="$CC $LDFLAGS -shared -Wl,-soname,\\\$\$0 -o \\\$\$0"
24 AFTER_MAKELIB="echo \\\$\$0"
25 # The following option is needed if we use no shared dino library but
26 # shared external library