Skip to content

Commit

Permalink
Added PKG_LIBS flags to Makevars to correctly link OpenMP on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
gabraham committed Nov 15, 2014
1 parent d66324d commit 06ecc9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flashpcaR/src/Makevars
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## With Rcpp 0.11.0 and later, we no longer need to set PKG_LIBS as there is
## no user-facing library. The include path to headers is already set by R.
PKG_CXXFLAGS = -fopenmp
PKG_LIBS = -fopenmp

## With R 3.1.0 or later, you can uncomment the following line to tell R to
## enable compilation with C++11 (where available)
Expand Down

0 comments on commit 06ecc9e

Please sign in to comment.