[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: libgc: Enable C++ support.
From: |
Eric Bavier |
Subject: |
01/01: gnu: libgc: Enable C++ support. |
Date: |
Sat, 02 Jan 2016 22:07:02 +0000 |
bavier pushed a commit to branch core-updates
in repository guix.
commit 8d0801ab235a6083c17235cefc214eb0537ffc1e
Author: Eric Bavier <address@hidden>
Date: Sun Dec 20 16:23:25 2015 -0600
gnu: libgc: Enable C++ support.
* gnu/packages/bdw-gc.scm (libgc-7.2, libgc)[arguments]: Add
--enable-cplusplus to #:configure-flags.
---
gnu/packages/bdw-gc.scm | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm
index 6615891..0a483ef 100644
--- a/gnu/packages/bdw-gc.scm
+++ b/gnu/packages/bdw-gc.scm
@@ -39,7 +39,9 @@
(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 @@ lock-free code, experiment with thread programming
paradigms, etc.")
(inputs `(("libatomic-ops" ,libatomic-ops)))
;; 'USE_LIBC_PRIVATES' is now the default.
- (arguments '())))
+ (arguments '(#:configure-flags '("--enable-cplusplus")))))