mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 03:20:43 +02:00
gnu: innoextract: Fix build failure with recent Boost and CMake.
* gnu/packages/compression.scm (innoextract)[arguments]: Add #:configure-flags to prevent usage of Boost's CMake scripts. While at it, remove the obsolete #:phases.
This commit is contained in:
parent
ef4c5a413e
commit
75ca2cdaff
1 changed files with 1 additions and 11 deletions
|
@ -1781,17 +1781,7 @@ single-member files which can't be decompressed in parallel.")
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
`(#:tests? #f
|
||||||
#:phases (modify-phases %standard-phases
|
#:configure-flags '("-DBoost_NO_BOOST_CMAKE=ON")))
|
||||||
(add-before 'configure 'glibc-is-already-a-system-library
|
|
||||||
(lambda _
|
|
||||||
;; Prevent the build system from passing the glibc
|
|
||||||
;; header files to GCC as "system headers", because
|
|
||||||
;; it conflicts with the system headers already known
|
|
||||||
;; to GCC, causing #include_next failures.
|
|
||||||
(substitute* "CMakeLists.txt"
|
|
||||||
(("include_directories\\(SYSTEM \\$\\{iconv")
|
|
||||||
"include_directories(${iconv"))
|
|
||||||
#t)))))
|
|
||||||
(inputs `(("boost" ,boost)
|
(inputs `(("boost" ,boost)
|
||||||
("libiconv" ,libiconv)
|
("libiconv" ,libiconv)
|
||||||
("xz" ,xz)))
|
("xz" ,xz)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue