mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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äer <Bernhard.Rosenkranzer@linaro.org> Change-Id: I6ea2864eb4be78e7d9704f19ab79eb8b80026a8b Signed-off-by: Greg Hackmann <ghackmann@google.com> Git-commit: fc0067eb042e1645f4c6e76ede1a49fbb5176a9e Git-repo: https://android.googlesource.com/kernel/common/ [satyap@codeaurora.org: resolution of trivial merge conflicts] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
This commit is contained in:
parent
c77880dd01
commit
eae5c7be6a
2
Makefile
2
Makefile
@ -705,7 +705,7 @@ endif
|
||||
ifneq ($(GCC_TOOLCHAIN),)
|
||||
CLANG_GCC_TC := -gcc-toolchain $(GCC_TOOLCHAIN)
|
||||
endif
|
||||
KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC)
|
||||
KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) -meabi gnu
|
||||
KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC)
|
||||
KBUILD_CPPFLAGS += $(call cc-option,-Qunused-arguments,)
|
||||
KBUILD_CFLAGS += $(call cc-disable-warning, unused-variable)
|
||||
|
Loading…
x
Reference in New Issue
Block a user