2 changed files with 53 additions and 28 deletions
@ -0,0 +1,40 @@ |
|||
diff -Naur ncbi.orig/ncbi/corelib/ncbienv.c ncbi/ncbi/corelib/ncbienv.c
|
|||
--- ncbi.orig/ncbi/corelib/ncbienv.c 2007-05-04 15:43:59.000000000 +0200
|
|||
+++ ncbi/ncbi/corelib/ncbienv.c 2009-03-27 01:37:01.000000000 +0100
|
|||
@@ -812,6 +812,8 @@
|
|||
if (fp == NULL) { |
|||
path[0] = '\0'; |
|||
pth = getenv ("NCBI"); |
|||
+ if (pth == NULL)
|
|||
+ pth = "/etc/ncbi";
|
|||
if (pth != NULL) { |
|||
Nlm_FileBuildPath(path, pth, str + 1); |
|||
fp = Ncbienv_FileOpen (path, "r"); |
|||
diff -Naur ncbi.orig/ncbimake/makedis.csh ncbi/ncbi/make/makedis.csh
|
|||
--- ncbi.orig/ncbi/make/makedis.csh 2008-12-30 16:15:10.000000000 +0100
|
|||
+++ ncbi/ncbi/make/makedis.csh 2009-03-27 01:39:23.000000000 +0100
|
|||
@@ -342,8 +342,8 @@
|
|||
# |
|||
|
|||
#uncomment two following lines to don't build X11 apps |
|||
-#set HAVE_OGL=0
|
|||
-#set HAVE_MOTIF=0
|
|||
+set HAVE_OGL=0
|
|||
+set HAVE_MOTIF=0
|
|||
|
|||
# if $OPENGL_TARGETS (in <platform>.ncbi.mk) is defined, |
|||
# then add the appropriate flags, libraries, and binaries for OpenGL apps |
|||
diff -Naur ncbi/ncbi.orig/platform/linux-x86.ncbi.mk ncbi/ncbi/platform/linux-x86.ncbi.mk
|
|||
--- ncbi.orig/ncbi/platform/linux-x86.ncbi.mk 2009-02-04 15:24:03.000000000 +0100
|
|||
+++ ncbi/ncbi/platform/linux-x86.ncbi.mk 2009-03-27 01:38:18.000000000 +0100
|
|||
@@ -11,8 +11,8 @@
|
|||
NCBI_AR=ar |
|||
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_LDFLAGS1 = -O2 -march=i686 -mtune=i686
|
|||
+NCBI_OPTFLAG = -O2 -march=i686 -mtune=i686
|
|||
NCBI_BIN_MASTER = /home/coremake/ncbi/bin |
|||
NCBI_BIN_COPY = /home/coremake/ncbi/bin |
|||
NCBI_INCDIR = /home/coremake/ncbi/include |
Write
Preview
Loading…
Cancel
Save
Reference in new issue