gnu: cflow: Fix preprocess option.

* gnu/packages/code.scm (cflow)[arguments]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Oleg Pykhalov 2017-10-02 07:38:09 +03:00 committed by Ludovic Courtès
parent 0ad03eae38
commit 65d98906b8
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -58,7 +58,11 @@ (define-public cflow
;; Needed to have cflow-mode.el installed. ;; Needed to have cflow-mode.el installed.
(native-inputs `(("emacs" ,emacs-minimal))) (native-inputs `(("emacs" ,emacs-minimal)))
(arguments
'(#:configure-flags (list (string-append "CPPFLAGS="
"-D" "CFLOW_PREPROC=\\\""
(assoc-ref %build-inputs "gcc")
"/bin/cpp\\\""))))
(home-page "https://www.gnu.org/software/cflow/") (home-page "https://www.gnu.org/software/cflow/")
(synopsis "Create a graph of control flow within a program") (synopsis "Create a graph of control flow within a program")
(description (description