commit | bb979c93fc536a7c8fd9e339c5545ae3faa478d5 | [log] [tgz] |
---|---|---|
author | Andrew Hsieh <andrewhsieh@google.com> | Wed Mar 06 15:17:57 2013 +0800 |
committer | Andrew Hsieh <andrewhsieh@google.com> | Wed Mar 06 15:17:57 2013 +0800 |
tree | f6ab1fdb0c738467b44f261d5644b23024560d4e | |
parent | e38a73c8f32a47b3520ad10c6f0463ce249f19ed [diff] |
Fix build-gnu-libstdc++.sh to not depend on toolchain's sysroot CFLAGS and CXXFLAGS already contain correct --sysroot. Add/export CPPFLAGS to also contain --sysroot otherwise in NDK package where toolchains/*/*/*/sysroot doesn't exist, libstdc++-v3/configure may fail to find correct headers and fail the build. Change-Id: Ia2810ec1820f581251532af3d31b9daa2f433bf3