summaryrefslogtreecommitdiffstats
path: root/src/oh-strip
diff options
context:
space:
mode:
Diffstat (limited to 'src/oh-strip')
-rw-r--r--src/oh-strip1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/oh-strip b/src/oh-strip
index afc4805..86e59b9 100644
--- a/src/oh-strip
+++ b/src/oh-strip
@@ -74,6 +74,7 @@ while [ ${#} -gt 0 ]; do
# from the original object file to the debugging object file.
objcopy --only-keep-debug "dest/${1}" "dest/usr/lib/debug/${1}"
objcopy --add-gnu-debuglink="/usr/lib/debug/${1}" "dest/${1}"
+ chmod 644 "dest/usr/lib/debug/${1}"
fi
# Strip the object file of symbols.
# TODO: If the file is not a library, strip it of all symbols.