Skip to content
Prev 10002 / 10988 Next

[Rcpp-devel] Getting different build commands on Linux vs. Mac OS

On 30.04.2018 12:48, Evan Biederstedt wrote:
Quoting Duncan Murdoch in
https://stat.ethz.ch/pipermail/r-package-devel/2017q4/002087.html:
So you might change various flags within src/Makevars via for example
PKG_CXXFLAGS, but you cannot overwrite CXXFLAGS or CXX itself. And there
is no PKG_CXX. You can change the used compiler for *your* system via
~/.R/Makevars, though. From my point of view that is a (short-time)
workaround only. You have to figure out why clang does not like your
package/library.

Greetings
Ralf