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

Commit 4c95eded authored by Tengfei Fan's avatar Tengfei Fan
Browse files

ARM: Makefile: fix Makefile for support clang compiler



Fix Makefile for support clang compiler

Change-Id: I9912c9270be2bce474939ef3f4fe0d48f1a78461
Signed-off-by: default avatarTengfei Fan <tengfeif@codeaurora.org>
parent 01dafb76
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ KBUILD_CFLAGS += $(call cc-option,-mno-unaligned-access)
endif

ifeq ($(CONFIG_FRAME_POINTER),y)
KBUILD_CFLAGS	+=-fno-omit-frame-pointer -mapcs -mno-sched-prolog
KBUILD_CFLAGS  +=-fno-omit-frame-pointer $(call cc-option,-mapcs,) $(call cc-option,-mno-sched-prolog,)
endif

ifeq ($(CONFIG_CPU_BIG_ENDIAN),y)