aboutsummaryrefslogtreecommitdiffstats
path: root/_R/Makevars
diff options
context:
space:
mode:
Diffstat (limited to '_R/Makevars')
-rw-r--r--_R/Makevars4
1 files changed, 4 insertions, 0 deletions
diff --git a/_R/Makevars b/_R/Makevars
new file mode 100644
index 0000000..1ead97e
--- /dev/null
+++ b/_R/Makevars
@@ -0,0 +1,4 @@
+#CXX=clang++
+CXXFLAGS=-O2 -Wall -Wno-unused-variable -Wno-unused-function
+# If g++ >= 4.9
+CXXFLAGS+=-flto -ffat-lto-objects -Wno-unused-local-typedefs