[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50299: [PATCH v2 07/27] gnu: swi-prolog: Don't use 'cc'.
From: |
Maxime Devos |
Subject: |
bug#50299: [PATCH v2 07/27] gnu: swi-prolog: Don't use 'cc'. |
Date: |
Mon, 27 Sep 2021 17:45:17 +0200 |
* gnu/packages/prolog.scm
(swi-prolog)[arguments]<#:configure-flags>: Set CMAKE_HOST_CC to gcc when
cross-compiling.
---
gnu/packages/prolog.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/prolog.scm b/gnu/packages/prolog.scm
index 8d940530d8..fc3956b17b 100644
--- a/gnu/packages/prolog.scm
+++ b/gnu/packages/prolog.scm
@@ -103,7 +103,9 @@ manner. It also features an interactive interpreter.")
;; Set this manually, otherwise CMake would need to
;; run a cross-compiled binary, which it can't do.
;; These values were found on a Linux system.
- '("-DBSD_SIGNALS=1" "-DQSORT_R_GNU=1")
+ '("-DBSD_SIGNALS=1" "-DQSORT_R_GNU=1"
+ ;; If absent, the non-existent 'cc' is used.
+ "-DCMAKE_HOST_CC=gcc"
'())
"-DINSTALL_DOCUMENTATION=ON"
"-DSWIPL_INSTALL_IN_LIB=OFF") ; FIXME: Breaks RUNPATH validation.
--
2.33.0
- bug#50299: [PATCH v2 09/27] gnu: swi-prolog: Set PROG_SWIPL when cross-compiling., (continued)
- bug#50299: [PATCH v2 09/27] gnu: swi-prolog: Set PROG_SWIPL when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 26/27] gnu: inkscape-1.1: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 27/27] gnu: ghc-bsb-http-chunked: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 06/27] gnu: swi-prolog: Make configuration wok when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 17/27] gnu: libicns: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 13/27] gnu: ruby-ffi-rzmq: Respect #:tests?., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 18/27] gnu: python2-empy: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 22/27] gnu: belcard: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 21/27] gnu: lablgtk: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 15/27] gnu: ecl: Don't pretend to enable tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 07/27] gnu: swi-prolog: Don't use 'cc'.,
Maxime Devos <=
- bug#50299: [PATCH v2 20/27] gnu: ocaml4.07-fftw3: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 19/27] gnu: python2-promise: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 23/27] gnu: pjproject: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 24/27] gnu: tdlib: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 25/27] gnu: extra-cmake-modules: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 08/27] gnu: swi-prolog: Use cross-compiled bash in shebangs., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 16/27] gnu: perl-unicode-utf8: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 01/27] lint: check-tests-true: Allow #:tests? #t for some build systems., Maxim Cournoyer, 2021/09/27