aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2016-11-24 09:11:39 +0100
committerMarius Bakke <mbakke@fastmail.com>2016-11-26 09:07:07 +0100
commitc254ac32004a4407d73ab254bc1c44eed0220355 (patch)
treede9c2d83f2bb11a59fa8223ae6cb38b14ddfcfd5 /guix
parentc8d1e7a1308e3c83aeb556be7d5b1e1836544e95 (diff)
downloadgnu-guix-c254ac32004a4407d73ab254bc1c44eed0220355.tar
gnu-guix-c254ac32004a4407d73ab254bc1c44eed0220355.tar.gz
build-system/gnu: Make libraries writable before stripping.
* guix/build/gnu-build-system.scm (strip)[strip-dir]: Change mode of files before running strip-command.
Diffstat (limited to 'guix')
-rw-r--r--guix/build/gnu-build-system.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index 1dfd85450c..59394c2cac 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -393,6 +393,8 @@ makefiles."
(or (elf-file? file) (ar-file? file))
(or (not debug-output)
(make-debug-file file))
+ ;; Ensure libraries are writable.
+ (chmod file #o755)
(zero? (apply system* strip-command
(append strip-flags (list file))))
(or (not debug-output)