Skip to content

Commit

Permalink
Add -fpermissive flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yashwants19 committed Jul 4, 2020
1 parent 482720a commit 8cc5c26
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# DO NOT CHANGE the "init" and "install" sections below

env:
global:
- MAKEFLAGS="-j 2"
- R_BUILD_ARGS="--no-build-vignettes"
- R_CHECK_ARGS="--no-build-vignettes"
- _R_CHECK_FORCE_SUGGESTS=0

# Download script file from GitHub
init:
ps: |
Expand Down
2 changes: 1 addition & 1 deletion src/Makevars.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CXX_STD = CXX11

PKG_CXXFLAGS = -I. @OPENMP_FLAG@ -DNDEBUG
PKG_CXXFLAGS = -I. @OPENMP_FLAG@ -fpermissive
PKG_LIBS= $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) @OPENMP_FLAG@
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CXX_STD = CXX11

PKG_CXXFLAGS= -I. $(SHLIB_OPENMP_CXXFLAGS)
PKG_CXXFLAGS= -I. $(SHLIB_OPENMP_CXXFLAGS) -fpermissive
PKG_LIBS= $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) $(SHLIB_OPENMP_CXXFLAGS)

0 comments on commit 8cc5c26

Please sign in to comment.