From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OkCG4-0007lj-8T for garchives@archives.gentoo.org; Sat, 14 Aug 2010 08:38:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF61FE0879; Sat, 14 Aug 2010 08:38:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8C4E4E0879 for ; Sat, 14 Aug 2010 08:38:27 +0000 (UTC) Received: from corvid.gentoo.org (corvid.gentoo.org [208.92.234.79]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 243FA1B4008 for ; Sat, 14 Aug 2010 08:38:27 +0000 (UTC) Received: by corvid.gentoo.org (Postfix, from userid 2271) id 1A8A62CF37; Sat, 14 Aug 2010 08:38:26 +0000 (UTC) From: "Kacper Kowalik (xarthisius)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, xarthisius@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/snns/files: 4.2-ldflags.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: 4.2-ldflags.patch X-VCS-Directories: sci-mathematics/snns/files X-VCS-Committer: xarthisius X-VCS-Committer-Name: Kacper Kowalik Content-Type: text/plain; charset=utf8 Message-Id: <20100814083826.1A8A62CF37@corvid.gentoo.org> Date: Sat, 14 Aug 2010 08:38:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 3708bb6e-93a2-4e9a-9ebf-c5744fbfcbc7 X-Archives-Hash: cec1c6c23f26bb0e70a0e667eaefcafd xarthisius 10/08/14 08:38:26 Added: 4.2-ldflags.patch Log: Respect LDFLAGS wrt bug 332475. Thanks to Diego for report. (Portage version: 2.1.8.3/cvs/Linux x86_64) Revision Changes Path 1.1 sci-mathematics/snns/files/4.2-ldflags.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/sn= ns/files/4.2-ldflags.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/sn= ns/files/4.2-ldflags.patch?rev=3D1.1&content-type=3Dtext/plain Index: 4.2-ldflags.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Respect LDFLAGS https://bugs.gentoo.org/show_bug.cgi?id=3D332475 --- tools/sources/Makefile +++ tools/sources/Makefile @@ -147,19 +147,19 @@ # Linking of single stand alone programs =20 analyze: analyze.o - $(CC) analyze.o -lm -o analyze + $(CC) $(LDFLAGS) analyze.o -lm -o analyze =20 pat_sel_simple: pat_sel_simple.o - $(CC) pat_sel_simple.o -lm -o pat_sel_simple + $(CC) $(LDFLAGS) pat_sel_simple.o -lm -o pat_sel_simple =20 mkhead: mkhead.o - $(CC) mkhead.o -lm -o mkhead + $(CC) $(LDFLAGS) mkhead.o -lm -o mkhead =20 mkout: mkout.o - $(CC) mkout.o -lm -o mkout + $(CC) $(LDFLAGS) mkout.o -lm -o mkout =20 mkpat: mkpat.o - $(CC) mkpat.o -lm -o mkpat + $(CC) $(LDFLAGS) mkpat.o -lm -o mkpat =20 =20 # Make sure that kernel libs are available and up to date --- xgui/sources/Makefile +++ xgui/sources/Makefile @@ -202,7 +202,7 @@ # Linking of xgui =20 xgui: $(LIBXGUI1) $(LIBXGUI2) $(BN3DLIB) $(KERNELLIBS) - $(CC) $(LIBXGUI1) $(LIBXGUI2) $(BN3DLIB) \ + $(CC) $(LDFLAGS) $(LIBXGUI1) $(LIBXGUI2) $(BN3DLIB) \ $(X_LIBS) -lXaw3d -lXmu -lXt -lXext $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS)= \ $(KERNELALLLIBS) -o xgui=20 =20