gnu: ld-wrapper: Use _IOLBF on Guile 2.0 only.
* gnu/packages/base.scm (make-ld-wrapper)[arguments]: Wrap use of '_IOLBF' in 'cond-expand' and use 'line instead on Guile > 2.0.master
parent
40a461fd97
commit
d8f78f5448
|
@ -546,7 +546,9 @@ wrapper for the cross-linker for that target, called 'TARGET-ld'."
|
||||||
'(string-append bin "/ld")))
|
'(string-append bin "/ld")))
|
||||||
(go (string-append ld ".go")))
|
(go (string-append ld ".go")))
|
||||||
|
|
||||||
(setvbuf (current-output-port) _IOLBF)
|
(setvbuf (current-output-port)
|
||||||
|
(cond-expand (guile-2.0 _IOLBF)
|
||||||
|
(else 'line)))
|
||||||
(format #t "building ~s/bin/ld wrapper in ~s~%"
|
(format #t "building ~s/bin/ld wrapper in ~s~%"
|
||||||
(assoc-ref %build-inputs "binutils")
|
(assoc-ref %build-inputs "binutils")
|
||||||
out)
|
out)
|
||||||
|
|
Reference in New Issue