build-system/gnu: Strip 'ar' archives as well.
* guix/build/gnu-build-system.scm (strip): Also strip when (ar-file? PATH) is true.
This commit is contained in:
parent
2bbc6db5e2
commit
e8c7fdda5d
|
@ -343,7 +343,7 @@ makefiles."
|
||||||
debug-output objcopy-command))
|
debug-output objcopy-command))
|
||||||
(file-system-fold (const #t)
|
(file-system-fold (const #t)
|
||||||
(lambda (path stat result) ; leaf
|
(lambda (path stat result) ; leaf
|
||||||
(and (elf-file? path)
|
(and (or (elf-file? path) (ar-file? path))
|
||||||
(or (not debug-output)
|
(or (not debug-output)
|
||||||
(make-debug-file path))
|
(make-debug-file path))
|
||||||
(zero? (apply system* strip-command
|
(zero? (apply system* strip-command
|
||||||
|
|
Loading…
Reference in New Issue