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:
John Marino 2016-09-05 12:37:32 +00:00
parent 3b921e492f
commit d48655b6ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421363

View file

@ -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