diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2017-10-02 07:38:09 +0300 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-10-03 17:07:55 +0200 |
commit | 65d98906b87ce03e9e991fc3f336e5d62f0571a4 (patch) | |
tree | 86c69454b8daa3d6ec97cf4efad4835b0eef39fa /gnu | |
parent | 0ad03eae380f5d3fda4018c07c338727a8943fda (diff) | |
download | guix-65d98906b87ce03e9e991fc3f336e5d62f0571a4.tar.gz |
gnu: cflow: Fix preprocess option.
* gnu/packages/code.scm (cflow)[arguments]: New field. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/code.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 6e04739f62..859dfd0ca7 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm @@ -58,7 +58,11 @@ ;; Needed to have cflow-mode.el installed. (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/") (synopsis "Create a graph of control flow within a program") (description |