[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50299: [PATCH v4 07/25] gnu: swi-prolog: Don't use 'cc'.
From: |
Maxime Devos |
Subject: |
bug#50299: [PATCH v4 07/25] gnu: swi-prolog: Don't use 'cc'. |
Date: |
Fri, 31 Dec 2021 12:14:49 +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 v4 24/25] gnu: extra-cmake-modules: Don't run tests when cross-compiling., (continued)
- bug#50299: [PATCH v4 24/25] gnu: extra-cmake-modules: Don't run tests when cross-compiling., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 03/25] gnu: lean: Add bash-minimal., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 04/25] gnu: swi-prolog: Move native-inputs to inputs where appropriate., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 08/25] gnu: swi-prolog: Use cross-compiled bash in shebangs., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 23/25] gnu: tdlib: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 10/25] gnu: swi-prolog: Correct reference to 'bin/swi-prolog'., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 14/25] gnu: go-1.16: Don't run tests when cross-compiling., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 12/25] gnu: ruby-ffi-rzmq: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 02/25] gnu: lean: Don't run tests when cross-compiling., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 06/25] gnu: swi-prolog: Make configuration wok when cross-compiling., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 07/25] gnu: swi-prolog: Don't use 'cc'.,
Maxime Devos <=