mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: gcc-final: Remove unnecessary CPPFLAGS.
* gnu/packages/commencement.scm (gcc-final)[arguments]: Remove unnecessary CPPFLAGS from #:make-flags.
This commit is contained in:
parent
557b5557d8
commit
52cfd8cb54
1 changed files with 8 additions and 12 deletions
|
@ -582,18 +582,14 @@ (define gcc-final
|
||||||
((_ rest ...)
|
((_ rest ...)
|
||||||
(loop rest)))))
|
(loop rest)))))
|
||||||
((#:make-flags flags)
|
((#:make-flags flags)
|
||||||
;; Since $LIBRARY_PATH and $CPATH are not honored, add the
|
;; Since $LIBRARY_PATH is not honored, add the relevant flags.
|
||||||
;; relevant flags.
|
`(map (lambda (flag)
|
||||||
`(cons (string-append "CPPFLAGS=-I"
|
(if (string-prefix? "LDFLAGS=" flag)
|
||||||
(assoc-ref %build-inputs "libstdc++")
|
(string-append flag " -L"
|
||||||
"/include")
|
(assoc-ref %build-inputs "libstdc++")
|
||||||
(map (lambda (flag)
|
"/lib")
|
||||||
(if (string-prefix? "LDFLAGS=" flag)
|
flag))
|
||||||
(string-append flag " -L"
|
,flags))
|
||||||
(assoc-ref %build-inputs "libstdc++")
|
|
||||||
"/lib")
|
|
||||||
flag))
|
|
||||||
,flags)))
|
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
`(alist-delete 'symlink-libgcc_eh ,phases)))))
|
`(alist-delete 'symlink-libgcc_eh ,phases)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue