Created
January 25, 2017 10:25
-
-
Save luca020400/cb9181da33ae0012609158256dfe49e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/binary.mk b/core/binary.mk | |
index 069a3dd85..84a2334d4 100644 | |
--- a/core/binary.mk | |
+++ b/core/binary.mk | |
@@ -368,11 +368,12 @@ my_target_global_conlyflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)CLANG_TARGET_GLOBAL | |
my_target_global_cppflags += $($(LOCAL_2ND_ARCH_VAR_PREFIX)CLANG_TARGET_GLOBAL_CPPFLAGS) | |
my_target_global_ldflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)CLANG_TARGET_GLOBAL_LDFLAGS) | |
ifeq ($(my_sdclang),true) | |
+ my_target_global_cflags += $(SDLLVM_AE_FLAG) -Wno-vectorizer-no-neon -O3 -fvectorize-loops | |
ifeq ($(strip $(my_cc)),) | |
- my_cc := $(my_cc_wrapper) $(SDCLANG_PATH)/clang $(SDLLVM_AE_FLAG) -Wno-vectorizer-no-neon | |
+ my_cc := $(my_cc_wrapper) $(SDCLANG_PATH)/clang | |
endif | |
ifeq ($(strip $(my_cxx)),) | |
- my_cxx := $(my_cxx_wrapper) $(SDCLANG_PATH)/clang++ $(SDLLVM_AE_FLAG) -Wno-vectorizer-no-neon | |
+ my_cxx := $(my_cxx_wrapper) $(SDCLANG_PATH)/clang++ | |
endif | |
endif | |
else |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment