Use strip provided by the cross-tools.

This allows a 32-bit host to successfully build x86_64.
This commit is contained in:
Matt Madia
2013-01-04 12:42:26 +00:00
parent 7845676a3e
commit 35f3908149
4 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -31,6 +31,7 @@ set -o errexit
# The following is only for cd types:
# generate_attribute_stores
# isCD
# stripCommand
#
if [ $# -gt 0 ]; then
. $1
@@ -151,7 +152,7 @@ stripDebugInfo()
if [ "$elfMarker" = 'ELF' ]; then
# make user-writable first -- some files aren't
chmod u+w "$file"
strip --strip-debug "$file"
"$stripCommand" --strip-debug "$file"
fi
}