We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 747c669 commit d5d2cf3Copy full SHA for d5d2cf3
R/build.R
@@ -30,7 +30,7 @@ RcppParallelLibs <- function() {
30
inlineCxxPlugin <- function() {
31
list(
32
env = list(
33
- PKG_CXXFLAGS = paste(tbbCxxFlags()),
+ PKG_CXXFLAGS = paste("$(CXX1XSTD)", tbbCxxFlags()),
34
PKG_LIBS = tbbLdFlags()
35
),
36
includes = "#include <RcppParallel.h>",
@@ -42,8 +42,7 @@ inlineCxxPlugin <- function() {
42
43
tbbCxxFlags <- function(simd = TRUE) {
44
45
- # request use of C++11 when possible
46
- flags <- "$(CXX1XSTD)"
+ flags <- c()
47
48
# opt-in to TBB on Windows
49
if (Sys.info()['sysname'] == "Windows")
0 commit comments