mirror of https://github.com/golang/go.git
make.bash: replace spaces with tabs
This commit is contained in:
parent
b86ab6e05a
commit
e17b9eb106
|
|
@ -132,10 +132,10 @@ fi
|
||||||
|
|
||||||
# Test which linker/loader our system is using
|
# Test which linker/loader our system is using
|
||||||
if type readelf >/dev/null 2>&1; then
|
if type readelf >/dev/null 2>&1; then
|
||||||
echo "int main() { return 0; }" | ${CC:-cc} -o ./test-musl-ldso -x c - || continue
|
echo "int main() { return 0; }" | ${CC:-cc} -o ./test-musl-ldso -x c - || continue
|
||||||
LDSO=$(readelf -l ./test-musl-ldso | grep 'interpreter:' | sed -e 's/^.*interpreter: \(.*\)[]]/\1/') >/dev/null 2>&1
|
LDSO=$(readelf -l ./test-musl-ldso | grep 'interpreter:' | sed -e 's/^.*interpreter: \(.*\)[]]/\1/') >/dev/null 2>&1
|
||||||
[ -z "$LDSO" ] || export GO_LDSO="$LDSO"
|
[ -z "$LDSO" ] || export GO_LDSO="$LDSO"
|
||||||
rm -f ./test-musl-ldso
|
rm -f ./test-musl-ldso
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clean old generated file that will cause problems in the build.
|
# Clean old generated file that will cause problems in the build.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue