[gdb/contrib] Use OBJCOPY everywhere in cc-with-tweaks.sh
authorTom de Vries <tdevries@suse.de>
Wed, 12 Oct 2022 08:55:39 +0000 (10:55 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 12 Oct 2022 08:55:39 +0000 (10:55 +0200)
commit33fb3d6f140b03062b6bce2065a44b3c8a42ba62
tree96c131366a7c4cd41a6a7a8f3db28ea802bcf84d
parent9e65489ac29a2b38417c4f17acf82187343751a6
[gdb/contrib] Use OBJCOPY everywhere in cc-with-tweaks.sh

I noticed that the $want_gnu_debuglink code in gdb/contrib/cc-with-tweaks.sh
uses objcopy instead of $OBJCOPY.  Fix this.

Script checked with shellcheck, no new warnings added.

Tested on x86_64-linux.
gdb/contrib/cc-with-tweaks.sh