Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3eccd047 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Android Git Automerger
Browse files

am 59c858fc: Merge "Remove special x86 flag that disables tail call optimization."

* commit '59c858fc':
  Remove special x86 flag that disables tail call optimization.
parents 71327b90 59c858fc
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -19,11 +19,8 @@ CLANG_CONFIG_x86_TARGET_EXTRA_CFLAGS := \
  $(CLANG_CONFIG_TARGET_EXTRA_CFLAGS) \
  $(CLANG_CONFIG_x86_EXTRA_CFLAGS) \
  $(CLANG_CONFIG_x86_TARGET_EXTRA_ASFLAGS) \
  -fno-optimize-sibling-calls \
  -mstackrealign

# http://llvm.org/bugs/show_bug.cgi?id=15086,
# llvm tail call optimization is wrong for x86.
# -mstackrealign is needed to realign stack in native code
# that could be called from JNI, so that movaps instruction
# will work on assumed stack aligned local variables.