Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-emulation/daphne/files: daphne-1.0-ldflags.patch
Date: Tue, 05 Oct 2010 07:42:31
Message-Id: 20101005074226.179BD20054@flycatcher.gentoo.org
1 tupone 10/10/05 07:42:26
2
3 Added: daphne-1.0-ldflags.patch
4 Log:
5 Respect LDFLAGS. Bug #337184
6
7 (Portage version: 2.1.9.13/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 games-emulation/daphne/files/daphne-1.0-ldflags.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/daphne/files/daphne-1.0-ldflags.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/daphne/files/daphne-1.0-ldflags.patch?rev=1.1&content-type=text/plain
14
15 Index: daphne-1.0-ldflags.patch
16 ===================================================================
17 --- Makefile.old 2010-10-05 08:48:46.000000000 +0200
18 +++ Makefile 2010-10-05 08:49:10.000000000 +0200
19 @@ -43,7 +43,7 @@
20 .SUFFIXES: .cpp
21
22 all: ${LOCAL_OBJS} sub
23 - ${CXX} ${DFLAGS} ${OBJS} -o ${EXE} ${LIBS}
24 + ${CXX} $(LDFLAGS) ${DFLAGS} ${OBJS} -o ${EXE} ${LIBS}
25
26 sub:
27 cd ldp-out && $(MAKE)
28 --- vldp2/Makefile.linux.old 2010-10-05 09:29:52.000000000 +0200
29 +++ vldp2/Makefile.linux 2010-10-05 09:30:13.000000000 +0200
30 @@ -33,7 +33,7 @@
31 all: vldp2
32
33 vldp2: ${OBJS}
34 - ${CC} -shared -o ${LIBNAME} ${OBJS} ${LIBS}
35 + ${CC} $(LDFLAGS) -shared -o ${LIBNAME} ${OBJS} ${LIBS}
36 cp ${LIBNAME} ../../.
37
38 clean: