Given how patch-um_Makefile was constructed correctly with configure variables, I suspect the similar-but-incorrect patch-sb_Makefile was simply regenerated after configure was run. Let's replace the hardcoded gfortran48 and it's flags with %%FC%% and %%FFLAGS%% so NASTRAN-95 builds on other fortran compilers. Approved by: Just-Fix-It
11 lines
326 B
Text
11 lines
326 B
Text
--- sb/Makefile.orig 2015-12-27 21:50:03 UTC
|
|
+++ sb/Makefile
|
|
@@ -1,6 +1,6 @@
|
|
# Declaration of variables
|
|
-FC = gfortran
|
|
-FFLAGS = -w -fno-range-check -fno-automatic -fcray-pointer -std=legacy
|
|
+FC = %%FC%%
|
|
+FFLAGS = %%FFLAGS%% -w -fno-range-check -fno-automatic -fcray-pointer -std=legacy
|
|
|
|
# file names
|
|
EXEC=nastran.exe
|