Skip to content
Snippets Groups Projects
Commit a1f3c5fd authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub
Browse files

Merge pull request #23 from ids1024/strip

Strip only executables, not libraries
parents b5be7eaa a4321ad1
No related branches found
No related tags found
No related merge requests found
...@@ -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