mirror of https://github.com/WebAssembly/wasi-sdk
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
251 B
10 lines
251 B
5 years ago
|
#!/usr/bin/env sh
|
||
|
set -e
|
||
|
|
||
|
DIRECTORY=${1:-/opt/wasi-sdk/bin}
|
||
|
EXECUTABLES=$(find ${DIRECTORY} -type f -executable)
|
||
|
for e in ${EXECUTABLES}; do
|
||
|
echo "Stripping symbols: ${e}"
|
||
|
strip ${e} || echo "Failed to strip symbols for ${e}; continuing on."
|
||
|
done
|