[med-svn] [daligner] 01/05: Use LDLIBS rather than LDFLAGS

Afif Elghraoui afif at moszumanska.debian.org
Tue Dec 27 21:07:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

afif pushed a commit to branch master
in repository daligner.

commit 0fb8851e7711fa04edc7999c7587639ddd3fc782
Author: Afif Elghraoui <afif at debian.org>
Date:   Tue Dec 27 12:48:04 2016 -0800

    Use LDLIBS rather than LDFLAGS
    
    Closes: #849431
    Thanks: Logan Rosen
---
 debian/patches/lddflags.patch | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/patches/lddflags.patch b/debian/patches/lddflags.patch
index e92ec4a..cc81081 100644
--- a/debian/patches/lddflags.patch
+++ b/debian/patches/lddflags.patch
@@ -4,19 +4,19 @@ Description: Support LDFLAGS in upstream build system
 Author: Afif Elghraoui <afif at ghraoui.name>
 Forwarded: not-needed
 Last-Update: 2016-01-08
---- daligner.orig/Makefile
-+++ daligner/Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -1,43 +1,34 @@
  DEST_DIR = ~/bin
  
  CFLAGS += -O3 -Wall -Wextra -Wno-unused-result -fno-strict-aliasing
-+LDFLAGS += -lm
++LDLIBS += -lm
  
  ALL = daligner HPC.daligner LAsort LAmerge LAsplit LAcat LAshow LAdump LAcheck LAindex
  
  all: $(ALL)
  
-+daligner: LDFLAGS += -lpthread
++daligner: LDLIBS += -lpthread
  daligner: daligner.c filter.c filter.h align.c align.h DB.c DB.h QV.c QV.h
 -	gcc $(CFLAGS) -o daligner daligner.c filter.c align.c DB.c QV.c -lpthread -lm
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/daligner.git



More information about the debian-med-commit mailing list