guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: libgpg-error: Enable cross-compilation for armel-linux-gnuei


From: John Darrington
Subject: 02/03: gnu: libgpg-error: Enable cross-compilation for armel-linux-gnueiabihf
Date: Wed, 26 Nov 2014 16:19:13 +0000

jmd pushed a commit to branch wip-arm
in repository guix.

commit bb13c1ebd754275e32ec407a4ff62419d7739871
Author: John Darrington <address@hidden>
Date:   Sat Nov 15 12:54:42 2014 +0100

    gnu: libgpg-error: Enable cross-compilation for armel-linux-gnueiabihf
    
    * gnu/packages/gnupg.scm (libgpg-error): Copy arm based android header to 
this target.
---
 gnu/packages/gnupg.scm |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index ecbb178..3f4142c 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -50,6 +50,16 @@
         "02lv5h865f8if391xjp3njg04k0l4x2pwjkcdbzcwilail1skazq"))))
     (build-system gnu-build-system)
     (home-page "http://gnupg.org";)
+   (arguments
+    `(#:phases
+       (alist-cons-before
+        'configure 'patch-config-files
+        (lambda _
+          ;; The package ships with a file for arm based android.  So
+          ;; far as I can tell it ought to work for any arm architecture too.
+          (copy-file "src/syscfg/lock-obj-pub.arm-unknown-linux-androideabi.h"
+                     "src/syscfg/lock-obj-pub.linux-gnueabihf.h"))
+       %standard-phases)))
     (synopsis "Library of error values for GnuPG components")
     (description
      "Libgpg-error is a small library that defines common error values



reply via email to

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