[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: cmake-bootstrap: Explicity declare the _FILE_OFFSET_BITS we
From: |
guix-commits |
Subject: |
01/02: gnu: cmake-bootstrap: Explicity declare the _FILE_OFFSET_BITS we want. |
Date: |
Tue, 29 Sep 2020 06:47:47 -0400 (EDT) |
dannym pushed a commit to branch wip-file-offset-bits-64
in repository guix.
commit 63e0d021f46cab9bff4e22cece980dc2b84eb061
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Tue Sep 29 10:40:14 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 | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index cf3bc40..c4dc2ad 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -190,6 +190,11 @@
#: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>.
+ (setenv "CFLAGS" "-D_FILE_OFFSET_BITS=64")
+ #t))
(add-before 'configure 'set-paths
(lambda _
;; Help cmake's bootstrap process to find system libraries