Skip to content

Commit

Permalink
Merge "Update to clang-4053586."
Browse files Browse the repository at this point in the history
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed Sep 25, 2017
2 parents 4ba6e3d + fa405a3 commit 6cc5725
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions build/tools/builder-funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -591,11 +591,9 @@ builder_begin_android ()
esac
SCRATCH_FLAGS="-target $LLVM_TRIPLE $FLAGS"
builder_ldflags "$SCRATCH_FLAGS"
if [ "$LLVM_VERSION" \> "3.4" ]; then
# Turn off integrated-as for clang >= 3.5 due to ill-formed object it produces
# involving inline-assembly .pushsection/.popsection which crashes ld.gold
# BUG=18589643
SCRATCH_FLAGS="$SCRATCH_FLAGS -fno-integrated-as"
if [ "$ABI" == "mips64" ]; then
# https://github.com/android-ndk/ndk/issues/399
SCRATCH_FLAGS="$SCRATCH_FLAGS -fintegrated-as"
fi
builder_cflags "$SCRATCH_FLAGS"
builder_cxxflags "$SCRATCH_FLAGS"
Expand Down
2 changes: 1 addition & 1 deletion build/tools/prebuilt-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ get_llvm_toolchain_binprefix ()
{
local NAME DIR BINPREFIX
local SYSTEM=${1:-$(get_prebuilt_host_tag)}
local VERSION=2812033
local VERSION=4053586
SYSTEM=${SYSTEM%_64} # Trim _64 suffix. We only have one LLVM.
BINPREFIX=$ANDROID_BUILD_TOP/prebuilts/clang/host/$SYSTEM/clang-$VERSION/bin
echo "$BINPREFIX"
Expand Down

0 comments on commit 6cc5725

Please sign in to comment.