mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 04:07:10 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ (define (strip-dir dir)
|
||||||
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 a new issue