[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: build-system/gnu: Make libraries writable before stripping.
From: |
Marius Bakke |
Subject: |
01/02: build-system/gnu: Make libraries writable before stripping. |
Date: |
Sat, 26 Nov 2016 08:11:49 +0000 (UTC) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit c254ac32004a4407d73ab254bc1c44eed0220355
Author: Marius Bakke <address@hidden>
Date: Thu Nov 24 09:11:39 2016 +0100
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.
---
guix/build/gnu-build-system.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index 1dfd854..59394c2 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)