Strip binaries in gcc and gnu-binutils, for much smaller file size

This commit is contained in:
Ian Douglas Scott 2017-06-11 21:07:19 -07:00
parent 6506f88a23
commit 6528b4bc21
No known key found for this signature in database
GPG Key ID: 4924E10E199B5959
2 changed files with 2 additions and 0 deletions

View File

@ -52,5 +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
skip=1
}

View File

@ -42,5 +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
skip=1
}