diff --git a/recipes/gcc/recipe.sh b/recipes/gcc/recipe.sh index a42b089356b289098c4f3bc12deadfc46334d9db..fd82c1a283970511dd9c5d008223420f20c19561 100644 --- a/recipes/gcc/recipe.sh +++ b/recipes/gcc/recipe.sh @@ -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 } diff --git a/recipes/gnu-binutils/recipe.sh b/recipes/gnu-binutils/recipe.sh index 1a5fbe2af61413f830f2ecc20d2a6aa7bbd1ad75..8bbe558c9651a7e57e02ca3506700e0938330c32 100644 --- a/recipes/gnu-binutils/recipe.sh +++ b/recipes/gnu-binutils/recipe.sh @@ -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 }