mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: exiv2: Get rid of reference to GCC.
This fixes <https://issues.guix.gnu.org/57677>. * gnu/packages/image.scm (exiv2)[arguments]: Add phase to remove _GLIBCXX_ASSERTIONS from compiler flags.
This commit is contained in:
parent
e5f34b6777
commit
b099e5e980
1 changed files with 6 additions and 0 deletions
|
@ -1528,6 +1528,12 @@ (define-public exiv2
|
|||
"-DEXIV2_ENABLE_BMFF=ON")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-gcc-reference
|
||||
(lambda _
|
||||
;; _GLIBCXX_ASSERTIONS brings reference to GCC.
|
||||
(substitute* "cmake/compilerFlags.cmake"
|
||||
(("add_compile_options[(]-Wp,-D_GLIBCXX_ASSERTIONS[)]")
|
||||
""))))
|
||||
(add-after 'install 'delete-static-libraries
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue