Skip to content

Commit

Permalink
Add Fortran_main to FLIBS.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@85874 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
kalibera committed Feb 8, 2024
1 parent 276a4d8 commit 7298851
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gnuwin32/MkRules.rules
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ ifndef USE_LLVM
FLIBS=-lgfortran -lquadmath
else
FC=$(BINPREF)flang $(M_ARCH)
FLIBS=-lFortranRuntime -lFortranDecimal -lc++
FLIBS=-lFortranRuntime -lFortranDecimal -lFortran_main -lc++
endif
LINKER=$(MAIN_LD)
MAIN_LD=$(CC)
Expand Down
2 changes: 1 addition & 1 deletion src/gnuwin32/fixed/etc/Makeconf
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ F_VISIBILITY =
## FC is the compiler used for all Fortran as from R 3.6.0
ifdef USE_LLVM
FC = $(BINPREF)flang $(M_ARCH)
FLIBS = -lFortranRuntime -lFortranDecimal -lc++ -lm
FLIBS = -lFortranRuntime -lFortranDecimal -lFortran_main -lc++ -lm
else
FC = $(BINPREF)gfortran $(M_ARCH)
FLIBS = -lgfortran -lm -lquadmath
Expand Down

0 comments on commit 7298851

Please sign in to comment.