mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05: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 @@ (define-public libgc-7.2
|
|||
(arguments
|
||||
;; Make it so that we don't rely on /proc. This is especially useful in
|
||||
;; 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"))
|
||||
(synopsis "The Boehm-Demers-Weiser conservative garbage collector
|
||||
for C and C++")
|
||||
|
@ -103,4 +105,4 @@ (define-public libgc
|
|||
(inputs `(("libatomic-ops" ,libatomic-ops)))
|
||||
|
||||
;; 'USE_LIBC_PRIVATES' is now the default.
|
||||
(arguments '())))
|
||||
(arguments '(#:configure-flags '("--enable-cplusplus")))))
|
||||
|
|
Loading…
Reference in a new issue