* [gentoo-commits] gentoo-x86 commit in sci-mathematics/snns/files: 4.2-ldflags.patch
@ 2010-08-14 8:38 Kacper Kowalik (xarthisius)
0 siblings, 0 replies; only message in thread
From: Kacper Kowalik (xarthisius) @ 2010-08-14 8:38 UTC (permalink / raw
To: gentoo-commits
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/snns/files/4.2-ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/snns/files/4.2-ldflags.patch?rev=1.1&content-type=text/plain
Index: 4.2-ldflags.patch
===================================================================
Respect LDFLAGS
https://bugs.gentoo.org/show_bug.cgi?id=332475
--- tools/sources/Makefile
+++ tools/sources/Makefile
@@ -147,19 +147,19 @@
# Linking of single stand alone programs
analyze: analyze.o
- $(CC) analyze.o -lm -o analyze
+ $(CC) $(LDFLAGS) analyze.o -lm -o analyze
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
mkhead: mkhead.o
- $(CC) mkhead.o -lm -o mkhead
+ $(CC) $(LDFLAGS) mkhead.o -lm -o mkhead
mkout: mkout.o
- $(CC) mkout.o -lm -o mkout
+ $(CC) $(LDFLAGS) mkout.o -lm -o mkout
mkpat: mkpat.o
- $(CC) mkpat.o -lm -o mkpat
+ $(CC) $(LDFLAGS) mkpat.o -lm -o mkpat
# Make sure that kernel libs are available and up to date
--- xgui/sources/Makefile
+++ xgui/sources/Makefile
@@ -202,7 +202,7 @@
# Linking of xgui
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-14 8:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-14 8:38 [gentoo-commits] gentoo-x86 commit in sci-mathematics/snns/files: 4.2-ldflags.patch Kacper Kowalik (xarthisius)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox