public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-biology/primer3/files: primer3-1.1.4-ldflags.patch
@ 2010-08-31 12:16 Kacper Kowalik (xarthisius)
  0 siblings, 0 replies; only message in thread
From: Kacper Kowalik (xarthisius) @ 2010-08-31 12:16 UTC (permalink / raw
  To: gentoo-commits

xarthisius    10/08/31 12:16:41

  Added:                primer3-1.1.4-ldflags.patch
  Log:
  Respect CC and LDFLAGS wrt bug 335225. Thanks to Diego for the report.
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sci-biology/primer3/files/primer3-1.1.4-ldflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/primer3/files/primer3-1.1.4-ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/primer3/files/primer3-1.1.4-ldflags.patch?rev=1.1&content-type=text/plain

Index: primer3-1.1.4-ldflags.patch
===================================================================
Respect LDFLAGS

http://bugs.gentoo.org/show_bug.cgi?id=335225

--- src/Makefile
+++ src/Makefile
@@ -103,10 +103,10 @@
 	$(CC) $(LDFLAGS) -o $@ ntdpal_main.o dpal.o
 
 oligotm: oligotm_main.c oligotm.h $(OLIGOTM_LIB)
-	$(CC) $(CFLAGS) -o $@ oligotm_main.c $(OLIGOTM_LIB) $(LIBOPTS) $(LDLIBS)
+	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ oligotm_main.c $(OLIGOTM_LIB) $(LIBOPTS) $(LDLIBS)
 
 long_seq_tm_test: long_seq_tm_test_main.c oligotm.o
-	$(CC) $(CFLAGS) -o $@ long_seq_tm_test_main.c oligotm.o $(LIBOPTS) $(LDLIBS)
+	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ long_seq_tm_test_main.c oligotm.o $(LIBOPTS) $(LDLIBS)
 
 boulder_input.o: boulder_input.c boulder_input.h primer3.h primer3_release.h dpal.h
 	$(CC) -c $(CFLAGS) $(P_DEFINES) -o $@ boulder_input.c
@@ -136,4 +136,4 @@
 primer_test: test
 
 test: $(PRIMER_EXE) ntdpal
-	cd ../test; make test
+	$(MAKE) -C ../test test






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-31 12:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31 12:16 [gentoo-commits] gentoo-x86 commit in sci-biology/primer3/files: primer3-1.1.4-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