diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-11-03 19:17:07 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-11-03 22:49:28 +0100 |
commit | 78641cf9da4f0c8e1f918a7b96e8a8a84296bff3 (patch) | |
tree | 14319107798e7ed1e8d49dad55f01ad600ce0e23 | |
parent | 142313cf0c5aea638851fb6b3856f89beeb6379a (diff) | |
download | guix-78641cf9da4f0c8e1f918a7b96e8a8a84296bff3.tar.gz guix-78641cf9da4f0c8e1f918a7b96e8a8a84296bff3.zip |
gnu: r-spams: Build with C++11.
* gnu/packages/statistics.scm (r-spams)[arguments]: Add phase 'use-c++11.
Change-Id: Ie477af6afe8993919090f6c81e071cee542e69bc
-rw-r--r-- | gnu/packages/statistics.scm | 7 |
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 |