[med-svn] [kmer-tools] 01/04: Fix build options to fortify source

Afif Elghraoui afif-guest at moszumanska.debian.org
Tue May 26 08:16:20 UTC 2015


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

afif-guest pushed a commit to branch master
in repository kmer-tools.

commit 3f28dda23008e4ebcc342f4d59ed7edd5ef0ebc4
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Mon May 25 22:37:26 2015 -0700

    Fix build options to fortify source
    
    The upstream build system does not support CPPFLAGS,
    which was where the necessary compiler flag was
    exported to.
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index c4e51a4..6e1315e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,10 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 
+# The custom build system doesn't support CPPFLAGS
+CFLAGS:=$(CPPFLAGS) $(CFLAGS)
+CXXFLAGS:=$(CPPFLAGS) $(CXXFLAGS)
+
 # The trailing slashes are very important to the build system
 subdirectories:= $(filter-out debian/, $(shell ls -d */))
 meryl:= libbio/ libkmer/ libmeryl/ libseq/ libutil/ meryl/

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



More information about the debian-med-commit mailing list