diff --git a/cleanup b/cleanup new file mode 100755 index 0000000..37bbb3a --- /dev/null +++ b/cleanup @@ -0,0 +1,5 @@ +#!/bin/sh +rm -f src/Makevars +rm -f config.* +rm -f src/Makevars.win +rm -f inst/include/*.gch diff --git a/cleanup.win b/cleanup.win new file mode 100755 index 0000000..8e6ff58 --- /dev/null +++ b/cleanup.win @@ -0,0 +1,5 @@ +#!/bin/sh + +rm -f src/Makevars.win +rm -f src/Makevars +rm -f inst/include/*.gch diff --git a/inst/tools/workaround.R b/inst/tools/workaround.R index 0f115b3..ed779f8 100644 --- a/inst/tools/workaround.R +++ b/inst/tools/workaround.R @@ -15,13 +15,11 @@ .in) if (.Platform$OS.type == "windows" && !file.exists("src/Makevars.win")) { - .in <- gsub("@CXX14STD@", "-std=c++1y", .in) file.out <- file("src/Makevars.win", "wb") writeLines(gsub("@ISYSTEM@", "I", .in), file.out) close(file.out) } else { - .in <- gsub("@CXX14STD@", "-std=gnu++14", .in) file.out <- file("src/Makevars", "wb") writeLines(gsub("@ISYSTEM@", "isystem", .in), file.out)