[Replicant] [libsamsung-ipc] [PATCH 3/9] scripts: guix.scm: use --enable-debug

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Mon May 23 16:56:11 UTC 2022


Replicant 6.0 is currently the main project using libsamsung-ipc and
it uses --enable-debug to show the hexadecimal dump of the samsung-ipc
packets, so it's a good idea to do compilation tests with it.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 scripts/guix.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/scripts/guix.scm b/scripts/guix.scm
index 10d0b74..b723b7a 100644
--- a/scripts/guix.scm
+++ b/scripts/guix.scm
@@ -116,7 +116,9 @@
            (lambda _
              (substitute* (find-files "." ".*\\.py$")
                (("/usr/bin/env python") (which "python3")))
-           #t)))))
+           #t)))
+       #:configure-flags
+       (list "--enable-debug")))
     (synopsis "libsamsung-ipc is a free software implementation of the Samsung IPC modem protocol")
     (description
      "libsamsung-ipc is a free software implementation of the Samsung IPC modem protocol,
@@ -158,6 +160,8 @@ found in many Samsung smartphones and tablets.")
                                    (substitute* (find-files "." ".*\\.py$")
                                                 (("/usr/bin/env python") (which "python3")))
                                    #t)))
+      #:configure-flags
+      (list "--enable-debug")
       #:make-flags (list ,%common-strict-cflags)))))
 
 (define-public libsamsung-ipc-clang-autotools
@@ -181,6 +185,8 @@ found in many Samsung smartphones and tablets.")
              (substitute* (find-files "." ".*\\.py$")
                (("/usr/bin/env python") (which "python3")))
              #t)))
+     #:configure-flags
+     (list "--enable-debug")
      #:make-flags (list ,%common-strict-cflags ,%clang-strict-cflags)))))
 
 (define-public libsamsung-ipc-clang-android
-- 
2.36.0



More information about the Replicant mailing list