[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: tk: Fix cross-compilation.
From: |
guix-commits |
Subject: |
04/08: gnu: tk: Fix cross-compilation. |
Date: |
Sat, 29 Jun 2019 11:41:57 -0400 (EDT) |
mothacehe pushed a commit to branch wip-cross-system
in repository guix.
commit 8e62f2e7cdecb737a69b272a324be9c24644fc25
Author: Mathieu Othacehe <address@hidden>
Date: Wed Jun 26 18:30:13 2019 +0200
gnu: tk: Fix cross-compilation.
* gnu/packages/tcl.scm (tk)[arguments]: Add configure flags to fix
cross-compilation.
---
gnu/packages/tcl.scm | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm
index fc955cf..df0f0e3 100644
--- a/gnu/packages/tcl.scm
+++ b/gnu/packages/tcl.scm
@@ -185,9 +185,16 @@ X11 GUIs.")
"/lib -lfontconfig")))
#t))))
- #:configure-flags (list (string-append "--with-tcl="
- (assoc-ref %build-inputs "tcl")
- "/lib"))
+ #:configure-flags
+ (list (string-append "--with-tcl="
+ (assoc-ref %build-inputs "tcl")
+ "/lib")
+ ;; This is needed when cross-compiling, see:
+ ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719247
+ ,@(if (%current-target-system)
+ '("tcl_cv_strtod_buggy=1"
+ "ac_cv_func_strtod=yes")
+ '()))
;; The tests require a running X server, so we just skip them.
#:tests? #f))
- branch wip-cross-system created (now 6e59bb8), guix-commits, 2019/06/29
- 02/08: gnu: python: Fix cross compilation., guix-commits, 2019/06/29
- 01/08: gnu: perl: Fix cross-compilation., guix-commits, 2019/06/29
- 04/08: gnu: tk: Fix cross-compilation.,
guix-commits <=
- 07/08: gnu: libgpg-error: Fix cross compilation., guix-commits, 2019/06/29
- 06/08: gnu: xorg: Fix cross-compilation of multiple packages., guix-commits, 2019/06/29
- 03/08: gnu: tcl: Fix cross-compilation., guix-commits, 2019/06/29
- 05/08: gnu: libxslt: Fix cross-compilation., guix-commits, 2019/06/29
- 08/08: gnu: python: Fix cross-compilation., guix-commits, 2019/06/29