aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/statistics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-11-03 19:17:07 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-11-03 22:49:28 +0100
commit78641cf9da4f0c8e1f918a7b96e8a8a84296bff3 (patch)
tree14319107798e7ed1e8d49dad55f01ad600ce0e23 /gnu/packages/statistics.scm
parent142313cf0c5aea638851fb6b3856f89beeb6379a (diff)
downloadguix-78641cf9da4f0c8e1f918a7b96e8a8a84296bff3.tar
guix-78641cf9da4f0c8e1f918a7b96e8a8a84296bff3.tar.gz
gnu: r-spams: Build with C++11.
* gnu/packages/statistics.scm (r-spams)[arguments]: Add phase 'use-c++11. Change-Id: Ie477af6afe8993919090f6c81e071cee542e69bc
Diffstat (limited to 'gnu/packages/statistics.scm')
-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