File ncbi-6.1-optflags.patch of Package ncbi

diff -aruN ncbi.orig/platform/linux64.ncbi.mk ncbi/platform/linux64.ncbi.mk
--- ncbi.orig/platform/linux64.ncbi.mk	2010-02-05 20:46:19.000000000 +0100
+++ ncbi/platform/linux64.ncbi.mk	2012-09-06 21:34:29.040051928 +0200
@@ -7,7 +7,7 @@
 NCBI_CC = gcc -pipe -D_GNU_SOURCE
 NCBI_CFLAGS1 = -c
 NCBI_LDFLAGS1 = -O3
-NCBI_OPTFLAG = -O3
+NCBI_OPTFLAG = $(CFLAGS)
 NCBI_BIN_MASTER = /home/coremake/ncbi/bin
 NCBI_BIN_COPY = /home/coremake/ncbi/bin
 NCBI_INCDIR = /home/coremake/ncbi/include
diff -aruN ncbi.orig/platform/linux.ncbi.mk ncbi/platform/linux.ncbi.mk
--- ncbi.orig/platform/linux.ncbi.mk	2010-02-05 20:46:19.000000000 +0100
+++ ncbi/platform/linux.ncbi.mk	2012-09-06 21:34:29.052051928 +0200
@@ -12,7 +12,7 @@
 NCBI_CC = gcc -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE
 NCBI_CFLAGS1 = -c
 NCBI_LDFLAGS1 = -O3
-NCBI_OPTFLAG = -O3
+NCBI_OPTFLAG = $(CFLAGS)
 NCBI_BIN_MASTER = /home/coremake/ncbi/bin
 NCBI_BIN_COPY = /home/coremake/ncbi/bin
 NCBI_INCDIR = /home/coremake/ncbi/include
diff -aruN ncbi.orig/platform/linux-x86.ncbi.mk ncbi/platform/linux-x86.ncbi.mk
--- ncbi.orig/platform/linux-x86.ncbi.mk	2009-02-04 15:24:03.000000000 +0100
+++ ncbi/platform/linux-x86.ncbi.mk	2012-09-06 21:35:08.016050552 +0200
@@ -12,7 +12,7 @@
 NCBI_CC = gcc -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE
 NCBI_CFLAGS1 = -c
 NCBI_LDFLAGS1 = -O3 -mcpu=pentium4
-NCBI_OPTFLAG = -O3 -mcpu=pentium4
+NCBI_OPTFLAG = $(CFLAGS)
 NCBI_BIN_MASTER = /home/coremake/ncbi/bin
 NCBI_BIN_COPY = /home/coremake/ncbi/bin
 NCBI_INCDIR = /home/coremake/ncbi/include
openSUSE Build Service is sponsored by