cad/NASTRAN-95: Fix hardcoded FC and FFLAG flags in patch
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
This commit is contained in:
parent
3b921e492f
commit
d48655b6ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421363
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
|||
# Declaration of variables
|
||||
-FC = gfortran
|
||||
-FFLAGS = -w -fno-range-check -fno-automatic -fcray-pointer -std=legacy
|
||||
+FC = gfortran48
|
||||
+FFLAGS = -O -fno-range-check -Wl,-rpath=/usr/local/lib/gcc48 -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
|
||||
|
|
Loading…
Reference in a new issue