guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/13: gnu: cflow: Fix preprocess option.


From: Ludovic Courtès
Subject: 05/13: gnu: cflow: Fix preprocess option.
Date: Tue, 3 Oct 2017 11:18:21 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 65d98906b87ce03e9e991fc3f336e5d62f0571a4
Author: Oleg Pykhalov <address@hidden>
Date:   Mon Oct 2 07:38:09 2017 +0300

    gnu: cflow: Fix preprocess option.
    
    * gnu/packages/code.scm (cflow)[arguments]: New field.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/code.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 6e04739..859dfd0 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]