[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50299: [PATCH v5 07/24] gnu: swi-prolog: Don't use 'cc'.
From: |
Maxime Devos |
Subject: |
bug#50299: [PATCH v5 07/24] gnu: swi-prolog: Don't use 'cc'. |
Date: |
Fri, 4 Mar 2022 13:01:02 +0000 |
* 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.30.2
- bug#50299: [PATCH v5 00/24] Fix 'check-tests-true' linter and some packages, Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 23/24] gnu: extra-cmake-modules: Don't run tests when cross-compiling., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 22/24] gnu: tdlib: Run tests conditionally., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 02/24] gnu: lean: Don't run tests when cross-compiling., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 15/24] gnu: ecl: Run tests conditionally., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 16/24] gnu: perl-unicode-utf8: Run tests conditionally., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 11/24] gnu: ruby-yard-with-tests: Run tests conditionally., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 13/24] gnu: ruby-ffi-rzmq: Respect #:tests?., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 07/24] gnu: swi-prolog: Don't use 'cc'.,
Maxime Devos <=
- bug#50299: [PATCH v5 20/24] gnu: lablgtk: Run tests conditionally., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 06/24] gnu: swi-prolog: Make configuration wok when cross-compiling., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 14/24] gnu: go-1.16: Don't run tests when cross-compiling., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 17/24] gnu: libicns: Run tests conditionally., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 03/24] gnu: lean: Add bash-minimal., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 05/24] gnu: swi-prolog: Run tests conditionally., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 12/24] gnu: ruby-ffi-rzmq: Run tests conditionally., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 18/24] gnu: python2-empy: Run tests conditionally., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 01/24] lint: check-tests-true: Allow #:tests? #t for some build systems., Maxime Devos, 2022/03/04
- bug#50299: [PATCH v5 09/24] gnu: swi-prolog: Set PROG_SWIPL when cross-compiling., Maxime Devos, 2022/03/04