diff options
Diffstat (limited to 'sci-biology/amap/files/amap-2.2-makefile.patch')
-rw-r--r-- | sci-biology/amap/files/amap-2.2-makefile.patch | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/sci-biology/amap/files/amap-2.2-makefile.patch b/sci-biology/amap/files/amap-2.2-makefile.patch index 5a9841c98255..3749fa58682c 100644 --- a/sci-biology/amap/files/amap-2.2-makefile.patch +++ b/sci-biology/amap/files/amap-2.2-makefile.patch @@ -2,28 +2,25 @@ Respect {CXX,LD}FLAGS http://bugs.gentoo.org/332009 ---- amap-align/align/Makefile -+++ amap-align/align/Makefile -@@ -15,6 +15,8 @@ - # c) RELEASE mode +--- a/align/Makefile ++++ b/align/Makefile +@@ -6,7 +6,6 @@ + # 1) Choose C++ compiler. ################################################################################ -+OPT_CXXFLAGS = -O3 -W -Wall -pedantic -funroll-loops -+ - OTHERFLAGS = -DNumInsertStates=1 -DVERSION='"AMAP.2.2"' +-CXX = g++ - # debug mode -@@ -26,8 +28,7 @@ + ################################################################################ + # 2) Set C++ flags. +@@ -26,7 +25,7 @@ # release mode #CXXFLAGS = -O3 -W -Wall -pedantic -DNDEBUG $(OTHERFLAGS) -mmmx -msse -msse2 -mfpmath=sse -march=pentium4 -mcpu=pentium4 -funroll-loops -fomit-frame-pointer -CXXFLAGS = -O3 -W -Wall -pedantic -DNDEBUG $(OTHERFLAGS) -funroll-loops -- -+CXXFLAGS = $(OPT_CXXFLAGS) -DNDEBUG $(OTHERFLAGS) ++CXXFLAGS += -W -Wall -pedantic -DNDEBUG $(OTHERFLAGS) + ################################################################################ # 3) Dependencies - ################################################################################ - @@ -38,7 +37,7 @@ all : $(TARGETS) |