mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: libgc: Add 'libgc-back-pointers' variant.
* gnu/packages/bdw-gc.scm (libgc/back-pointers): New variable.
This commit is contained in:
parent
42ecb96e99
commit
4cb87d63e1
1 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2012, 2013, 2014, 2016 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2012, 2013, 2014, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
||||
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
||||
|
@ -78,6 +78,16 @@ (define-public libgc
|
|||
|
||||
(license (x11-style (string-append home-page "license.txt")))))
|
||||
|
||||
(define-public libgc/back-pointers
|
||||
(package
|
||||
(inherit libgc)
|
||||
(name "libgc-back-pointers")
|
||||
(arguments
|
||||
`(#:make-flags
|
||||
(list "CPPFLAGS=-DKEEP_BACK_PTRS=1")
|
||||
,@(package-arguments libgc)))
|
||||
(synopsis "The BDW garbage collector, with back-pointer tracking")))
|
||||
|
||||
(define-public libatomic-ops
|
||||
(package
|
||||
(name "libatomic-ops")
|
||||
|
|
Loading…
Reference in a new issue