aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2016-11-03 17:57:34 +0100
committerErfan Abdi <erfangplus@gmail.com>2018-07-11 11:51:24 +0430
commit98459ec8cf1b445121e416c500ca6d0ded4d247e (patch)
tree247455dd4b246042cb5b861058a031394c0d6fca
parent71d6c2d4bfd779a335c626b37a7987c04b89f9f4 (diff)
LINARO: Add -meabi gnu to the clang parameters
This makes sure clang uses _mcount on aarch64 and __gnu_mcount_nc on arm32. It has no effect on x86. Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Change-Id: I6ea2864eb4be78e7d9704f19ab79eb8b80026a8b Signed-off-by: Greg Hackmann <ghackmann@google.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e2ccf61153a7..eb2f272d31eb 100644
--- a/Makefile
+++ b/Makefile
@@ -397,7 +397,7 @@ endif
ifneq ($(CLANG_ENABLE_IA),1)
CLANG_IA_FLAG = -no-integrated-as
endif
-CLANG_FLAGS := $(CLANG_TARGET) $(CLANG_GCC_TC) $(CLANG_IA_FLAG)
+CLANG_FLAGS := $(CLANG_TARGET) $(CLANG_GCC_TC) $(CLANG_IA_FLAG) -meabi gnu
endif
# Use USERINCLUDE when you must reference the UAPI directories only.