On some conditions strip can corrupt input binary that
it is trying to strip symbols.
See https://bugs.tizen.org/jira/browse/TINF-1404
Also on Tizen3.0, binaries that icecc put into the mini
compiler archive, are already stripped (gcc. g++, as). So
running strip on them does not bring any advantages.
Change-Id: Ifea3e85411ee4941877360aae137304682d7acd3
Signed-off-by: Julien Isorce <j.isorce@samsung.com>
esac
mkdir -p $tempdir/`dirname $target`
cp -p $path $tempdir/$target
- if test -f $tempdir/$target -a -x $tempdir/$target; then
- strip -s $tempdir/$target 2>/dev/null
- fi
+ # Bug in binutils, see https://bugs.tizen.org/jira/browse/TINF-1404
+ # if test -f $tempdir/$target -a -x $tempdir/$target; then
+ # strip -s $tempdir/$target 2>/dev/null
+ # fi
target=`echo $target | cut -b2-`
new_target_files="$new_target_files $target"
done