From ace9e911ba9d870774a2687b53f100071b189113 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Mon, 16 Dec 2019 19:24:55 +0100 Subject: [PATCH] Add Makevars for cluster --- pkg/src/Makevars_cluster | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 pkg/src/Makevars_cluster diff --git a/pkg/src/Makevars_cluster b/pkg/src/Makevars_cluster new file mode 100644 index 0000000..76af5c4 --- /dev/null +++ b/pkg/src/Makevars_cluster @@ -0,0 +1,4 @@ +# Override R weird defaults: +# https://stackoverflow.com/questions/23414448/r-makevars-file-to-overwrite-r-cmds-default-g-options +%.o: %.c + gcc -I"/usr/local/R/3.6.1/lib64/R/include" -DNDEBUG -I/usr/local/include -fpic -O2 -c $< -o $@ -- 2.44.0