aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/statistics.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index cf5ba0764b..2413f659a6 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4964,7 +4964,12 @@ from within R.")
(add-after 'mkdist 'no-mtune
(lambda _
(substitute* "src/Makevars"
- (("-mtune=native") "")))))))
+ (("-mtune=native") ""))))
+ (add-after 'no-mtune 'use-c++11
+ (lambda _
+ (substitute* "src/Makevars"
+ (("-DUSE_BLAS_LIB" m)
+ (string-append m " -std=c++11"))))))))
(native-inputs
(list hevea
perl