build-system/gnu: Remove the "debug" output when `strip-binaries?' is #f.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Delete "debug"
from OUTPUTS when STRIP-BINARIES? is false.
* gnu/packages/cross-base.scm (cross-libc): Leave `outputs' unchanged.
This reverts commit a4627d4
.
master
parent
a4627d498a
commit
82f9b17687
|
@ -251,9 +251,6 @@ XBINUTILS and the cross tool chain."
|
||||||
#t))
|
#t))
|
||||||
,phases))))
|
,phases))))
|
||||||
|
|
||||||
;; Remove the "debug" output since stripping is disabled.
|
|
||||||
(outputs (delete "debug" (package-outputs glibc)))
|
|
||||||
|
|
||||||
(propagated-inputs `(("cross-linux-headers" ,xlinux-headers)))
|
(propagated-inputs `(("cross-linux-headers" ,xlinux-headers)))
|
||||||
(native-inputs `(("cross-gcc" ,xgcc)
|
(native-inputs `(("cross-gcc" ,xgcc)
|
||||||
("cross-binutils" ,xbinutils)
|
("cross-binutils" ,xbinutils)
|
||||||
|
|
|
@ -299,7 +299,9 @@ which could lead to gratuitous input divergence."
|
||||||
,@(if implicit-inputs?
|
,@(if implicit-inputs?
|
||||||
implicit-inputs
|
implicit-inputs
|
||||||
'()))
|
'()))
|
||||||
#:outputs outputs
|
#:outputs (if strip-binaries?
|
||||||
|
outputs
|
||||||
|
(delete "debug" outputs))
|
||||||
#:modules imported-modules
|
#:modules imported-modules
|
||||||
#:guile-for-build guile-for-build))
|
#:guile-for-build guile-for-build))
|
||||||
|
|
||||||
|
@ -470,7 +472,9 @@ platform."
|
||||||
,@(if implicit-inputs?
|
,@(if implicit-inputs?
|
||||||
implicit-host-inputs
|
implicit-host-inputs
|
||||||
'()))
|
'()))
|
||||||
#:outputs outputs
|
#:outputs (if strip-binaries?
|
||||||
|
outputs
|
||||||
|
(delete "debug" outputs))
|
||||||
#:modules imported-modules
|
#:modules imported-modules
|
||||||
#:guile-for-build guile-for-build))
|
#:guile-for-build guile-for-build))
|
||||||
|
|
||||||
|
|
Reference in New Issue