@@ -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")