Skip to content

Commit 333cdd1

Browse files
committed
Correct an attribute as seen in code review
1 parent 656f3d4 commit 333cdd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/Attributes.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ compileAttributes <- function(pkgdir = ".", verbose = getOption("verbose")) {
515515
## this is the default in g++-6.1 and later
516516
## per https://gcc.gnu.org/projects/cxx-status.html#cxx14
517517
.plugins[["cpp14"]] <- function() {
518-
list(env = list(PKG_CXXFLAGS ="-std=c++14"))
518+
list(env = list(USE_CXX14 = "yes"))
519519
}
520520

521521
# built-in C++1y plugin for C++14 and C++17 standard under development

0 commit comments

Comments
 (0)