gnu: r-spams: Build with C++11.
* gnu/packages/statistics.scm (r-spams)[arguments]: Add phase 'use-c++11. Change-Id: Ie477af6afe8993919090f6c81e071cee542e69bc
This commit is contained in:
parent
142313cf0c
commit
78641cf9da
@ -4964,7 +4964,12 @@ from within R.")
|
|||||||
(add-after 'mkdist 'no-mtune
|
(add-after 'mkdist 'no-mtune
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "src/Makevars"
|
(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
|
(native-inputs
|
||||||
(list hevea
|
(list hevea
|
||||||
perl
|
perl
|
||||||
|
Loading…
Reference in New Issue
Block a user