aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Donnelly <mingw.android@gmail.com>2013-08-07 20:42:26 +0100
committerRay Donnelly <mingw.android@gmail.com>2013-08-07 20:42:29 +0100
commit0ff95f4b0c576971f5079c9976e1f98f629aca6d (patch)
treedb58c8e6f5e13ecd87af3e38f5a89cac8e8bc150
parent0205623189cea81f606211ff3a523cdccf553d93 (diff)
downloadndk-0ff95f4b0c576971f5079c9976e1f98f629aca6d.tar.gz
Fix --ldflags param passed to gen-toolchain-wrapper.sh
.. in build/tools/prebuilt-common.sh, --ldflags is passed without the $ in-front of HOST_LDFLAGS so that ends up as the first parameter the wrapper passes to the real ld.
-rw-r--r--build/tools/prebuilt-common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tools/prebuilt-common.sh b/build/tools/prebuilt-common.sh
index 379268e79..2138372e3 100644
--- a/build/tools/prebuilt-common.sh
+++ b/build/tools/prebuilt-common.sh
@@ -766,7 +766,7 @@ EOF
DST_PREFIX="$NDK_CCACHE $DST_PREFIX"
fi
$NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=$BINPREFIX --dst-prefix="$DST_PREFIX" "$CROSS_WRAP_DIR" \
- --cflags="$HOST_CFLAGS" --cxxflags="$HOST_CFLAGS" --ldflags="HOST_LDFLAGS"
+ --cflags="$HOST_CFLAGS" --cxxflags="$HOST_CFLAGS" --ldflags="$HOST_LDFLAGS"
# generate wrappers for BUILD toolchain
# this is required for mingw/darwin build to avoid tools canadian cross configuration issues
# 32-bit BUILD toolchain