[med-svn] [subread] 01/01: d/patches/arch_specific_flags.patch: set the optimization level to -03 because -O levels higher than 3 have no effect.

Alex Mestiashvili malex-guest at moszumanska.debian.org
Fri May 22 09:43:05 UTC 2015


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

malex-guest pushed a commit to branch master
in repository subread.

commit 306b7d794c045d3389597ad669a771849836a90b
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Fri May 22 11:33:50 2015 +0200

    d/patches/arch_specific_flags.patch: set the optimization level to -03
     because -O levels higher than 3 have no effect.
---
 debian/patches/arch_specific_flags.patch | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/patches/arch_specific_flags.patch b/debian/patches/arch_specific_flags.patch
index 722caa8..733182b 100644
--- a/debian/patches/arch_specific_flags.patch
+++ b/debian/patches/arch_specific_flags.patch
@@ -1,7 +1,7 @@
 Description: inject architecture specific flags:
  for amd64 and i386 add -mtune=generic and -msse3,
  use -fsigned-char for all architectures
- change -O9 to -O2 as I couldn't fine -O9 in gcc options
+ change -O9 to -O3 because -O levels higher than 3 have no effect
 Author: Alex Mestiashvili <alex at biotec.tu-dresden.de>
 --- subread.orig/src/Makefile.Linux
 +++ subread/src/Makefile.Linux
@@ -10,10 +10,11 @@ Author: Alex Mestiashvili <alex at biotec.tu-dresden.de>
  include makefile.version
  
 -CCFLAGS = -mtune=core2 ${MACOS} -O9 -Wall  -DMAKE_FOR_EXON  -D MAKE_STANDALONE -D SUBREAD_VERSION=\"${SUBREAD_VERSION}\"  -D_FILE_OFFSET_BITS=64
-+CCFLAGS = ${EXTRA_CC_FLAGS} -O2 -Wall  -DMAKE_FOR_EXON  -D MAKE_STANDALONE -D SUBREAD_VERSION=\"${SUBREAD_VERSION}\"  -D_FILE_OFFSET_BITS=64
- #CCFLAGS =  -D_FORTIFY_SOURCE=2 -mtune=core2 ${MACOS} -O2 -Wall  -DMAKE_FOR_EXON  -D MAKE_STANDALONE -D SUBREAD_VERSION=\"${SUBREAD_VERSION}\"  # -DREPORT_ALL_THE_BEST
+-#CCFLAGS =  -D_FORTIFY_SOURCE=2 -mtune=core2 ${MACOS} -O2 -Wall  -DMAKE_FOR_EXON  -D MAKE_STANDALONE -D SUBREAD_VERSION=\"${SUBREAD_VERSION}\"  # -DREPORT_ALL_THE_BEST
 -LDFLAGS = ${STATIC_MAKE} -lpthread -lz -lm ${MACOS} -O9 -DMAKE_FOR_EXON -D MAKE_STANDALONE # -DREPORT_ALL_THE_BEST
 -CC = gcc ${CCFLAGS} -ggdb -fomit-frame-pointer -ffast-math -funroll-loops -mmmx -msse -msse2 -msse3 -fmessage-length=0 
++CCFLAGS = ${EXTRA_CC_FLAGS} -O3 -Wall  -DMAKE_FOR_EXON  -D MAKE_STANDALONE -D SUBREAD_VERSION=\"${SUBREAD_VERSION}\"  -D_FILE_OFFSET_BITS=64
++#CCFLAGS =  -D_FORTIFY_SOURCE=2 -mtune=core2 ${MACOS} -O9 -Wall  -DMAKE_FOR_EXON  -D MAKE_STANDALONE -D SUBREAD_VERSION=\"${SUBREAD_VERSION}\"  # -DREPORT_ALL_THE_BEST
 +LDFLAGS = ${STATIC_MAKE} ${EXTRA_LD_FLAGS} -lpthread -lz -lm # -DREPORT_ALL_THE_BEST
 +CC = gcc ${CCFLAGS} -ggdb -fomit-frame-pointer -ffast-math -funroll-loops -fmessage-length=0
  

-- 
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