GNU bug report logs - #70328
[PATCH] gnu: audit: Build with aarch64 and arm support.

Previous Next

Package: guix-patches;

Reported by: Leo Nikkilä <hello <at> lnikki.la>

Date: Wed, 10 Apr 2024 23:57:04 UTC

Severity: normal

Tags: patch

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Nikkilä <hello <at> lnikki.la>
To: guix-patches <at> gnu.org
Cc: Leo Nikkilä <hello <at> lnikki.la>
Subject: [PATCH] gnu: audit: Build with aarch64 and arm support.
Date: Thu, 11 Apr 2024 02:55:03 +0300
* gnu/packages/admin.scm (audit)[arguments]<#:configure-flags>: Add
`--with-aarch64' when building for aarch64. Likewise for arm.
---
 gnu/packages/admin.scm | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 2b94b1e17a..d8b2c25af4 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -3355,9 +3355,18 @@ (define-public audit
                 "0y5w8pl91xapi49ih1pw7h48lac201cj7fm89hkklmzi9m2715gx"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:configure-flags (list "--with-python=no"
-                               "--disable-static")))
+     (list #:configure-flags
+           #~(list #$@(let ((system (or (%current-target-system)
+                                        (%current-system))))
+                        (cond ((string-prefix? "aarch64-" system)
+                               '("--with-aarch64"))
+                              ((string-prefix? "arm-" system)
+                               '("--with-arm"))
+                              (else
+                               '())))
+                   "--with-python=no"
+                   "--disable-static")))
     (inputs
      (list openldap gnutls cyrus-sasl))
     (synopsis "User-space component to the Linux auditing system")

-- 
2.41.0





This bug report was last modified 1 year and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.