unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70328] [PATCH] gnu: audit: Build with aarch64 and arm support.
@ 2024-04-10 23:55 Leo Nikkilä via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: Leo Nikkilä via Guix-patches via @ 2024-04-10 23:55 UTC (permalink / raw)
  To: 70328; +Cc: Leo Nikkilä

* 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





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-10 23:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10 23:55 [bug#70328] [PATCH] gnu: audit: Build with aarch64 and arm support Leo Nikkilä via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).