summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-01-19 14:51:24 +0100
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:44:28 +0200
commitcc2e13baec21d561fb9f5a3c3edc4aeb0b1a0b8d (patch)
tree80f1898c21f0df1ffddfe17e9eaaeaf62ef27d2f /gnu
parent41e01a1224a131486f7674f2c7ae3e89be047f72 (diff)
downloadguix-cc2e13baec21d561fb9f5a3c3edc4aeb0b1a0b8d.tar.gz
gnu: hurd: Fix building libdde_linux26.
* gnu/packages/hurd.scm (hurd)[arguments]: In phases `build-libdde-linux' and
`install-goodies', also set ARCH=x86.

Change-Id: I2e7f14afda03c9e21ba9c3b24e195a00ae141701
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/hurd.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 4a1101d965..4672181434 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -473,7 +473,8 @@ exec ${system}/rc \"$@\"
                                     (assoc-ref (or native-inputs inputs) "bash")
                                     "/bin/bash")
                      (string-append "CC="
-                                    ,(cc-for-target)))))
+                                    ,(cc-for-target))
+                     "ARCH=x86")))
          (add-after 'install 'install-goodies
            (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
              ;; Install additional goodies.
@@ -489,7 +490,8 @@ exec ${system}/rc \"$@\"
                                       "/bin/bash")
                        (string-append "INSTALLDIR="
                                       out
-                                      "/share/libdde_linux26/build/include"))
+                                      "/share/libdde_linux26/build/include")
+                       "ARCH=x86")
                ;; Install the fancy UTF-8 motd.
                (mkdir-p (string-append out "/etc"))
                (copy-file "console/motd.UTF8"