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:
Eric Bavier 2015-12-20 16:23:25 -06:00
parent e80d2555f5
commit 8d0801ab23

View file

@ -39,7 +39,9 @@ (define-public libgc-7.2
(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 @@ (define-public libgc
(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")))))