Commit e940950b authored by Sascha Steinbiss's avatar Sascha Steinbiss

make build reproducible

parent 1f34cc4f
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@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
......
......@@ -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@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@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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment