Strip only executables, not libraries

Striping crt* was causing issues.
This commit is contained in:
Ian Douglas Scott 2017-06-12 12:46:49 -07:00
parent b5be7eaa2d
commit a4321ad117
No known key found for this signature in database
GPG Key ID: 4924E10E199B5959
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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
}