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

Commit 7746de91 authored by Weiming Zhao's avatar Weiming Zhao Committed by Linux Build Service Account
Browse files

Add -Wno-vectorizer-no-neon flag for all compiles

Prevent the warning for SDLLVM

Change-Id: Ie44b6ea12fab6a6f198a00c360fee98980f0b40c
parent 9a5c6c28
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -336,10 +336,10 @@ my_target_global_cppflags += $($(LOCAL_2ND_ARCH_VAR_PREFIX)CLANG_TARGET_GLOBAL_C
my_target_global_ldflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)CLANG_TARGET_GLOBAL_LDFLAGS)
    ifeq ($(my_qcclang),true)
        ifeq ($(strip $(my_cc)),)
            my_cc := $(QCCLANG_PATH)/clang $(SDLLVM_AE_FLAG)
            my_cc := $(QCCLANG_PATH)/clang $(SDLLVM_AE_FLAG) -Wno-vectorizer-no-neon
        endif
        ifeq ($(strip $(my_cxx)),)
            my_cxx := $(QCCLANG_PATH)/clang++ $(SDLLVM_AE_FLAG)
            my_cxx := $(QCCLANG_PATH)/clang++ $(SDLLVM_AE_FLAG) -Wno-vectorizer-no-neon
        endif
    endif
else