dannym pushed a commit to branch wip-file-offset-bits-64 in repository guix.
commit 988b189c07db3accd05c1bc8180488c14d970c99 Author: Danny Milosavljevic <[email protected]> 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
