[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: gnu: cmake-bootstrap: Explicity declare the _FILE_OFFSET_BITS we
From: |
guix-commits |
Subject: |
10/11: gnu: cmake-bootstrap: Explicity declare the _FILE_OFFSET_BITS we want. |
Date: |
Tue, 29 Sep 2020 09:32:20 -0400 (EDT) |
dannym pushed a commit to branch wip-file-offset-bits-64
in repository guix.
commit 988b189c07db3accd05c1bc8180488c14d970c99
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Tue Sep 29 15:17:07 2020 +0200
gnu: cmake-bootstrap: Explicity declare the _FILE_OFFSET_BITS we want.
* gnu/packages/cmake.scm
(cmake-bootstrap)[arguments]<#:phases>[ensure-file-offset-bits-64]:
Explicity declare the _FILE_OFFSET_BITS we want.
---
gnu/packages/cmake.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index cf3bc40..03b1ce0 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -190,6 +190,13 @@
#:phases
(modify-phases %standard-phases
,@%common-build-phases
+ (add-before 'configure 'ensure-file-offset-bits-64
+ (lambda _
+ ;; See
<https://gitlab.kitware.com/cmake/cmake/-/commit/627fb15eaac5bc02c9bddfb0be85d4b4f38d4a3a>
+ ;; for justification.
+ (setenv "CFLAGS" "-D_FILE_OFFSET_BITS=64")
+ (setenv "CXXFLAGS" "-D_FILE_OFFSET_BITS=64")
+ #t))
(add-before 'configure 'set-paths
(lambda _
;; Help cmake's bootstrap process to find system libraries
- 03/11: gnu: libidn2: Explicitly declare the _FILE_OFFSET_BITS we want., (continued)
- 03/11: gnu: libidn2: Explicitly declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 05/11: gnu: libtasn1: Explicitly declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 01/11: gnu: glibc-final: Catch all cases of a glibc user not requesting 64-bit offsets and then using readdir regardless., guix-commits, 2020/09/29
- 02/11: gnu: gcc: Use _FILE_OFFSET_BITS=64 for libstdc++-v3., guix-commits, 2020/09/29
- 04/11: gnu: fontconfig: Explicitly declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 06/11: gnu: openssl: Explicitly declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 11/11: gnu: cmake: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 09/11: gnu: rhash: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 07/11: gnu: libtool: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 08/11: gnu: libltdl: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 10/11: gnu: cmake-bootstrap: Explicity declare the _FILE_OFFSET_BITS we want.,
guix-commits <=