mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 21:04:18 +08:00
Merge pull request #23 from ids1024/strip
Strip only executables, not libraries
This commit is contained in:
commit
a1f3c5fdad
@ -52,6 +52,6 @@ function recipe_clean {
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
make DESTDIR="$dest" install-gcc install-target-libgcc
|
||||
find "$dest" -exec x86_64-elf-redox-strip {} ';' 2> /dev/null
|
||||
find "$dest/{bin,libexec}" -exec x86_64-elf-redox-strip {} ';' 2> /dev/null
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -42,6 +42,6 @@ function recipe_clean {
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
make DESTDIR="$dest" install
|
||||
find "$dest" -exec x86_64-elf-redox-strip {} ';' 2> /dev/null
|
||||
find "$dest/bin" -exec x86_64-elf-redox-strip {} ';' 2> /dev/null
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user