From 85bfbb8ce1bdd213a15211cf564fa216d9335fcf Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 27 Sep 2019 01:19:18 +0200 Subject: [PATCH] Update danio_gcc.sh --- danio_gcc.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/danio_gcc.sh b/danio_gcc.sh index 1073db4..22261eb 100755 --- a/danio_gcc.sh +++ b/danio_gcc.sh @@ -113,7 +113,8 @@ runit() } strip_n_pack() { - find ${PREFIX} -type f -not -path *${TARGET}/${TARGET}/* | xargs file | grep "ELF" | cut -f 1 -d ":" | xargs strip -S --strip-unneeded #for host + #find ${PREFIX} -type f -not -path *${TARGET}/${TARGET}/* | xargs file | grep "ELF" | cut -f 1 -d ":" | xargs strip -S --strip-unneeded #for host + find ${PREFIX} -type f | xargs file | grep "ELF" | cut -f 1 -d ":" | xargs strip -S --strip-unneeded #for host find ${PREFIX}/${TARGET} -type f -name "*.a" | xargs ${TARGET}-strip -S --strip-unneeded #for sysroot find ${PREFIX}/${TARGET} -type f -name "*.a" | xargs ${TARGET}-ranlib #for sysroot find ${PREFIX}/${TARGET} -type f | xargs file | grep "ELF" | cut -f 1 -d ":" | xargs ${TARGET}-strip -S --strip-unneeded #for sysroot