[med-svn] [subread] 01/01: make build reproducible

Sascha Steinbiss satta at debian.org
Sun Sep 4 15:48:03 UTC 2016


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

satta pushed a commit to branch master
in repository subread.

commit e940950be41a1c0676186de67cfe8003acaded2f
Author: Sascha Steinbiss <satta at debian.org>
Date:   Sun Sep 4 15:47:50 2016 +0000

    make build reproducible
---
 debian/changelog                         | 8 ++++++++
 debian/patches/arch_specific_flags.patch | 6 +++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 844905b..6b89018 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+subread (1.5.1+dfsg-2) unstable; urgency=medium
+
+  * Team upload.
+  * Make build reproducible.
+    - Add compiler flags to ensure use of -fdebug-prefix-map.
+
+ -- Sascha Steinbiss <satta at debian.org>  Sun, 04 Sep 2016 15:16:33 +0000
+
 subread (1.5.1+dfsg-1) unstable; urgency=medium
 
   * Imported Upstream version 1.5.1+dfsg
diff --git a/debian/patches/arch_specific_flags.patch b/debian/patches/arch_specific_flags.patch
index 5444435..6de2c62 100644
--- a/debian/patches/arch_specific_flags.patch
+++ b/debian/patches/arch_specific_flags.patch
@@ -7,8 +7,8 @@ Description: Inject architecture specific flags:
  - Append CFLAGS and LDFLAGS instead of hardcoding the values, this way the 
    hardening flags are set correctly
 Author: Alex Mestiashvili <alex at biotec.tu-dresden.de>
---- subread.orig/src/Makefile.Linux
-+++ subread/src/Makefile.Linux
+--- a/src/Makefile.Linux
++++ b/src/Makefile.Linux
 @@ -2,10 +2,10 @@
  
  include makefile.version
@@ -20,7 +20,7 @@ Author: Alex Mestiashvili <alex at biotec.tu-dresden.de>
 +OPT_LEVEL = 3
 +CCFLAGS += -O${OPT_LEVEL} -fsigned-char -Wall  -DMAKE_FOR_EXON  -D MAKE_STANDALONE -D SUBREAD_VERSION=\"${SUBREAD_VERSION}\"  -D_FILE_OFFSET_BITS=64
 +LDFLAGS += ${STATIC_MAKE} -lpthread -lz -lm -O${OPT_LEVEL} -DMAKE_FOR_EXON -D MAKE_STANDALONE # -DREPORT_ALL_THE_BEST
-+CC = gcc ${CCFLAGS} -ggdb -fomit-frame-pointer -ffast-math -funroll-loops -fmessage-length=0
++CC = gcc ${CFLAGS} ${CPPFLAGS} ${CCFLAGS} -ggdb -fomit-frame-pointer -ffast-math -funroll-loops -fmessage-length=0
  
  
  ALL_LIBS= core core-junction core-indel sambam-file sublog gene-algorithms hashtable input-files sorted-hashtable gene-value-index exon-algorithms HelperFunctions interval_merge long-hashtable core-bigtable seek-zlib

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



More information about the debian-med-commit mailing list