diff options
author | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2016-11-03 17:57:34 +0100 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2016-12-20 22:19:27 +0530 |
commit | e2302292e7d31c81be53ae0719ce5dda6e86ab42 (patch) | |
tree | 5bea123493c0048f9c0b0af11521f4417719475a | |
parent | 30963a878a4c93ff73e811c9fa9730029c4497fc (diff) |
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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -381,7 +381,7 @@ endif ifneq ($(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. |