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

Commit 6854d0ec authored by Naitik Bharadiya's avatar Naitik Bharadiya Committed by Cong Zhang
Browse files

Kbuild arm: set Wno-vectorizer-no-neon flag



Set Wno-vectorizer-no-neon flag to disable warning
"Vectorization flags ignored because armv7/armv8
and neon not set [-Wvectorizer-no-neon]".

Change-Id: Ib130302db66686b0bd91102436a93c24233aa755
Signed-off-by: default avatarNaitik Bharadiya <bharad@codeaurora.org>
Signed-off-by: default avatarCong Zhang <congzhan@codeaurora.org>
parent f8b00cea
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -30,6 +30,10 @@ GZFLAGS :=-9
# Never generate .eh_frame
KBUILD_CFLAGS	+= $(call cc-option,-fno-dwarf2-cfi-asm)

ifeq ($(cc-name),clang)
KBUILD_CFLAGS += -Wno-vectorizer-no-neon
endif

# This should work on most of the modern platforms
KBUILD_DEFCONFIG := multi_v7_defconfig