[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36477] [PATCH 04/31] gnu: tk: Fix cross-compilation.
From: |
Mathieu Othacehe |
Subject: |
[bug#36477] [PATCH 04/31] gnu: tk: Fix cross-compilation. |
Date: |
Mon, 8 Jul 2019 11:58:46 +0200 |
* 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 fc955cf649..df0f0e3a5c 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))
--
2.17.1
- [bug#36477] [PATCH 09/31] gnu: http-parser: Fix cross-compilation., (continued)
[bug#36477] [PATCH 14/31] gnu: ath9k-htc-firmware: Fix cross compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 10/31] gnu: openssl: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 12/31] gnu: cmake: Extend CMAKE_PREFIX_PATH to non-native inputs., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 07/31] gnu: libgpg-error: Fix cross compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 04/31] gnu: tk: Fix cross-compilation.,
Mathieu Othacehe <=
[bug#36477] [PATCH 11/31] gnu: texinfo: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 08/31] gnu: python: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 16/31] gnu: groff: Fix cross compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 23/31] gnu: help2man: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 19/31] gnu: indent: Fix aarch64 cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 13/31] gnu: libgit2: Fix cross compilation., Mathieu Othacehe, 2019/07/08