updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sprng2 / gfortran.patch
blob60ebe88472818f36ec2bfa555bd44f5a7f457878
1 --- SRC/make.INTEL.copy 2010-05-06 00:57:01.000000000 +0200
2 +++ SRC/make.INTEL 2010-05-06 00:57:22.000000000 +0200
3 @@ -6,10 +6,10 @@
4 CC = gcc
5 CLD = $(CC)
6 # Set f77 to echo if you do not have a FORTRAN compiler
7 -F77 = g77
8 +F77 = gfortran
9 #F77 = echo
10 F77LD = $(F77)
11 -FFXN = -DAdd__
12 +FFXN = -DAdd_
13 FSUFFIX = F
15 MPIF77 = mpif77
16 @@ -27,7 +27,7 @@
17 # Please include mpi header file path, if needed
19 #CFLAGS = -O3 -DLittleEndian $(PMLCGDEF) $(MPIDEF) -D$(PLAT) -I/usr/local/mpi/include -I/usr/local/mpi/build/LINUX/ch_p4/include
20 -CFLAGS = -O3 -DLittleEndian $(PMLCGDEF) $(MPIDEF) -D$(PLAT)
21 +CFLAGS = -O3 -DLittleEndian $(PMLCGDEF) $(MPIDEF) -D$(PLAT) -fPIC
22 CLDFLAGS = -O3
23 #FFLAGS = -O3 $(PMLCGDEF) $(MPIDEF) -D$(PLAT) -I/usr/local/mpi/include -I/usr/local/mpi/build/LINUX/ch_p4/include -I.
24 FFLAGS = -O3 $(PMLCGDEF) $(MPIDEF) -D$(PLAT)