From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-biology/primer3/files: primer3-1.1.4-ldflags.patch |
Date: | Tue, 31 Aug 2010 12:16:50 |
Message-Id: | 20100831121641.5A08920051@flycatcher.gentoo.org |
1 | xarthisius 10/08/31 12:16:41 |
2 | |
3 | Added: primer3-1.1.4-ldflags.patch |
4 | Log: |
5 | Respect CC and LDFLAGS wrt bug 335225. Thanks to Diego for the report. |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-biology/primer3/files/primer3-1.1.4-ldflags.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/primer3/files/primer3-1.1.4-ldflags.patch?rev=1.1&view=markup |
12 | 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 |
13 | |
14 | Index: primer3-1.1.4-ldflags.patch |
15 | =================================================================== |
16 | Respect LDFLAGS |
17 | |
18 | http://bugs.gentoo.org/show_bug.cgi?id=335225 |
19 | |
20 | --- src/Makefile |
21 | +++ src/Makefile |
22 | @@ -103,10 +103,10 @@ |
23 | $(CC) $(LDFLAGS) -o $@ ntdpal_main.o dpal.o |
24 | |
25 | oligotm: oligotm_main.c oligotm.h $(OLIGOTM_LIB) |
26 | - $(CC) $(CFLAGS) -o $@ oligotm_main.c $(OLIGOTM_LIB) $(LIBOPTS) $(LDLIBS) |
27 | + $(CC) $(LDFLAGS) $(CFLAGS) -o $@ oligotm_main.c $(OLIGOTM_LIB) $(LIBOPTS) $(LDLIBS) |
28 | |
29 | long_seq_tm_test: long_seq_tm_test_main.c oligotm.o |
30 | - $(CC) $(CFLAGS) -o $@ long_seq_tm_test_main.c oligotm.o $(LIBOPTS) $(LDLIBS) |
31 | + $(CC) $(LDFLAGS) $(CFLAGS) -o $@ long_seq_tm_test_main.c oligotm.o $(LIBOPTS) $(LDLIBS) |
32 | |
33 | boulder_input.o: boulder_input.c boulder_input.h primer3.h primer3_release.h dpal.h |
34 | $(CC) -c $(CFLAGS) $(P_DEFINES) -o $@ boulder_input.c |
35 | @@ -136,4 +136,4 @@ |
36 | primer_test: test |
37 | |
38 | test: $(PRIMER_EXE) ntdpal |
39 | - cd ../test; make test |
40 | + $(MAKE) -C ../test test |