mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: libgc: Enable C++ support.
* gnu/packages/bdw-gc.scm (libgc-7.2, libgc)[arguments]: Add --enable-cplusplus to #:configure-flags.
This commit is contained in:
parent
e80d2555f5
commit
8d0801ab23
1 changed files with 4 additions and 2 deletions
|
@ -39,7 +39,9 @@
|
||||||
(arguments
|
(arguments
|
||||||
;; Make it so that we don't rely on /proc. This is especially useful in
|
;; Make it so that we don't rely on /proc. This is especially useful in
|
||||||
;; an initrd run before /proc is mounted.
|
;; an initrd run before /proc is mounted.
|
||||||
'(#:configure-flags '("CPPFLAGS=-DUSE_LIBC_PRIVATES")))
|
'(#:configure-flags '("CPPFLAGS=-DUSE_LIBC_PRIVATES"
|
||||||
|
;; Install gc_cpp.h et al.
|
||||||
|
"--enable-cplusplus")))
|
||||||
(outputs '("out" "debug"))
|
(outputs '("out" "debug"))
|
||||||
(synopsis "The Boehm-Demers-Weiser conservative garbage collector
|
(synopsis "The Boehm-Demers-Weiser conservative garbage collector
|
||||||
for C and C++")
|
for C and C++")
|
||||||
|
@ -103,4 +105,4 @@ lock-free code, experiment with thread programming paradigms, etc.")
|
||||||
(inputs `(("libatomic-ops" ,libatomic-ops)))
|
(inputs `(("libatomic-ops" ,libatomic-ops)))
|
||||||
|
|
||||||
;; 'USE_LIBC_PRIVATES' is now the default.
|
;; 'USE_LIBC_PRIVATES' is now the default.
|
||||||
(arguments '())))
|
(arguments '(#:configure-flags '("--enable-cplusplus")))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue