[Rcpp-commits] r400 - pkg/inst/skeleton

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Jan 18 10:51:52 CET 2010


Author: romain
Date: 2010-01-18 10:51:52 +0100 (Mon, 18 Jan 2010)
New Revision: 400

Modified:
   pkg/inst/skeleton/Makevars
Log:
using the CXXOPTS variable for -std=c++0x which is gcc specific, instead of PKG_CXXFLAGS which is not

Modified: pkg/inst/skeleton/Makevars
===================================================================
--- pkg/inst/skeleton/Makevars	2010-01-18 09:11:37 UTC (rev 399)
+++ pkg/inst/skeleton/Makevars	2010-01-18 09:51:52 UTC (rev 400)
@@ -1,5 +1,4 @@
 PKG_CPPFLAGS=$(shell Rscript -e "Rcpp:::CxxFlags()" )
 PKG_LIBS = $(shell Rscript -e "Rcpp:::LdFlags()" )
-## If C++0x features are desired, uncomment the next lines
-# PKG_CXXFLAGS += $(shell Rscript -e "Rcpp:::Cxx0xFlags()" )
+CXXOPTS = $(shell Rscript -e "Rcpp:::Cxx0xFlags()" )
 



More information about the Rcpp-commits mailing list