Skip to content

Commit

Permalink
fix: HAVE_GFORTRAN flag for win and ucrt (#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviator-app[bot] authored Jan 30, 2024
2 parents 60c669b + 593a5b8 commit 3d51e82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Makevars.ucrt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ LIB_GMP ?= $(R_TOOLS_SOFT)
PKG_CPPFLAGS = -I"${LIB_XML}/include/libxml2" -I"${LIB_XML}/include" -DLIBXML_STATIC -DUSING_R -I. -Ivendor -Ivendor/cigraph/src -Ivendor/cigraph/include -Ivendor/cigraph/vendor \
-DNDEBUG -DNTIMER -DNPRINT -DINTERNAL_ARPACK -DIGRAPH_THREAD_LOCAL= \
-DPRPACK_IGRAPH_SUPPORT \
-DHAVE_GFORTRAN=1 \
-D_GNU_SOURCE=1

PKG_LIBS = -L"${LIB_XML}/lib" -lxml2 -liconv -lz -lws2_32 -lstdc++ \
Expand Down
1 change: 1 addition & 0 deletions src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ LIB_GMP ?= $(MINGW_PREFIX)
PKG_CPPFLAGS=-DUSING_R -I. -Ivendor -Ivendor/cigraph/src -Ivendor/cigraph/include -Ivendor/cigraph/vendor \
-DNDEBUG -DNTIMER -DNPRINT -DINTERNAL_ARPACK -DIGRAPH_THREAD_LOCAL= \
-DPRPACK_IGRAPH_SUPPORT \
-DHAVE_GFORTRAN=1 \
-D_GNU_SOURCE=1

PKG_LIBS = -lxml2 -lz -lstdc++ \
Expand Down

0 comments on commit 3d51e82

Please sign in to comment.