Skip to content
Snippets Groups Projects
Unverified Commit a4321ad1 authored by Ian Douglas Scott's avatar Ian Douglas Scott
Browse files

Strip only executables, not libraries

Striping crt* was causing issues.
parent b5be7eaa
No related branches found
No related tags found
1 merge request!23Strip only executables, not libraries
...@@ -52,6 +52,6 @@ function recipe_clean { ...@@ -52,6 +52,6 @@ function recipe_clean {
function recipe_stage { function recipe_stage {
dest="$(realpath $1)" dest="$(realpath $1)"
make DESTDIR="$dest" install-gcc install-target-libgcc 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 skip=1
} }
...@@ -42,6 +42,6 @@ function recipe_clean { ...@@ -42,6 +42,6 @@ function recipe_clean {
function recipe_stage { function recipe_stage {
dest="$(realpath $1)" dest="$(realpath $1)"
make DESTDIR="$dest" install 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 skip=1
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment