aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-03-04 10:32:03 -0800
committerDan Albert <danalbert@google.com>2015-03-04 10:32:03 -0800
commitf36ea7e00379ff52ef3779fea93110096812db07 (patch)
treed9438e36bb0387a9789ea9c538710c6102f6f474 /build
parentdd206fbb184cb6117f98ed1ebff926138fcd9f33 (diff)
downloadndk-f36ea7e00379ff52ef3779fea93110096812db07.tar.gz
Remove an obselete comment.
Change-Id: I03e7146e445cec3f99781c19c8a204f6bf4805cf
Diffstat (limited to 'build')
-rwxr-xr-xbuild/tools/build-gdbserver.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/tools/build-gdbserver.sh b/build/tools/build-gdbserver.sh
index a61e8a0dd..61facc842 100755
--- a/build/tools/build-gdbserver.sh
+++ b/build/tools/build-gdbserver.sh
@@ -168,8 +168,7 @@ if [ "$NOTHREADS" != "yes" ] ; then
dump "ERROR: Missing directory: $LIBTHREAD_DB_DIR"
exit 1
fi
- # Small trick, to avoid calling ar, we store the single object file
- # with an .a suffix. The linker will handle that seamlessly.
+
run cp $LIBTHREAD_DB_DIR/thread_db.h $BUILD_SYSROOT/usr/include/
run $TOOLCHAIN_PREFIX-gcc --sysroot=$BUILD_SYSROOT -o $BUILD_SYSROOT/usr/$LIBDIR/libthread_db.o -c $LIBTHREAD_DB_DIR/libthread_db.c
run $TOOLCHAIN_PREFIX-ar -rD $BUILD_SYSROOT/usr/$LIBDIR/libthread_db.a $BUILD_SYSROOT/usr/$LIBDIR/libthread_db.o