Release note export to HTML/TXT
[foam-extend-3.2.git] / ThirdParty / rpmBuild / SOURCES / scotch-5.1.10b_patch_0
blob8686a86e5f00d7aca4b01fbaa26297a78ad5c2bf
1 diff -ruN scotch_5.1.10b_orig/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib scotch_5.1.10b/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib
2 --- scotch_5.1.10b_orig/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib       1969-12-31 19:00:00.000000000 -0500
3 +++ scotch_5.1.10b/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib    2010-10-31 15:44:58.000000000 -0400
4 @@ -0,0 +1,22 @@
5 +EXE    =
6 +LIB    = .dylib
7 +OBJ    = .o
9 +MAKE   = make
10 +AR     = gcc
11 +ARFLAGS        = -shared  -dynamiclib -undefined dynamic_lookup -o
13 +CAT    = cat
14 +CCS    = gcc
15 +CCP     = mpicc
16 +CCD     = mpicc
17 +CFLAGS = -O3 -fPIC -DCOMMON_TIMING_OLD -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_PTHREAD -DSCOTCH_RENAME
18 +LDFLAGS        = -lz -lm
19 +LIBLDFLAGS     = -dynamiclib -undefined dynamic_lookup
20 +CP     = cp
21 +LEX    = flex
22 +LN     = ln
23 +MKDIR  = mkdir
24 +MV     = mv
25 +RANLIB = ranlib
26 +YACC   = bison -y
27 diff -ruN scotch_5.1.10b_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib scotch_5.1.10b/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib
28 --- scotch_5.1.10b_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib  2010-08-07 00:02:42.000000000 -0700
29 +++ scotch_5.1.10b/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib       2013-07-19 17:15:56.638402200 -0700
30 @@ -4,14 +4,14 @@
32  MAKE           = make
33  AR             = gcc
34 -ARFLAGS                = -shared -o
35 +ARFLAGS                = $(LDFLAGS) -shared -o
36  CAT            = cat
37  CCS            = gcc
38  CCP            = mpicc
39 -CCD            = gcc
40 -CFLAGS         = -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -DSCOTCH_PTHREAD -Drestrict=__restrict
41 -CLIBFLAGS      = -shared -fPIC
42 -LDFLAGS                = -lz -lm -lrt
43 +CCD            = mpicc -I$(MPI_HOME)/include
44 +CFLAGS         = -O3 -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -DSCOTCH_PTHREAD -Drestrict=__restrict
45 +CLIBFLAGS      = -shared 
46 +LDFLAGS                = -lpthread -lz -lm -lrt
47  CP             = cp
48  LEX            = flex -Pscotchyy -olex.yy.c
49  LN             = ln