forked from cms-sw/cmsdist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alpgen-213-macosx.patch
33 lines (33 loc) · 1.02 KB
/
alpgen-213-macosx.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff --git a/compile.mk b/compile.mk
index 4201a4a..8c96177 100755
--- a/compile.mk
+++ b/compile.mk
@@ -15,11 +15,11 @@ ifeq ($(shell uname),Darwin)
-ffast-math
endif
ifeq ($(shell uname -m),i386)
- FFF = ifort -noautomatic -warn
- FF90 = ifort -noautomatic -warn
+# FFF = ifort -noautomatic -warn
+# FF90 = ifort -noautomatic -warn
# FFF= g77 -O1 -Wall -fno-automatic -Wno-globals
-# FFF = gfortran -fnoautomatic
-# FF90 = gfortran
+ FFF = gfortran -O1 -Wall -fno-automatic -fno-backslash -ffast-math
+ FF90 = gfortran
endif
endif
# Unix-ALPHA fortran
diff --git a/compile.mk b/compile.mk
index 34d704a..8011a1d 100755
--- a/compile.mk
+++ b/compile.mk
@@ -14,7 +14,7 @@ ifeq ($(shell uname),Darwin)
FFF = g77 -O1 -Wall -fno-automatic -Wno-globals -fno-backslash \
-ffast-math
endif
- ifeq ($(shell uname -m),i386)
+ ifeq ($(shell uname -p),i386)
# FFF = ifort -noautomatic -warn
# FF90 = ifort -noautomatic -warn
# FFF= g77 -O1 -Wall -fno-automatic -Wno-globals