Fix build: After merging in Clang, -Wno-psabi is no longer supported.
-Wno-unused-but-set-variable is not supported either. Change-Id: Ic416048a0b078efa50515539f6cac9db472ad086
This commit is contained in:
parent
1e845d33af
commit
c814bcefd7
|
@ -67,6 +67,11 @@ TARGET_thumb_CLANG_CFLAGS += $(filter-out $(CLANG_CONFIG_UNKNOWN_CFLAGS),$(TARGE
|
|||
$(call clang-flags-subst,-march=armv5te,-march=armv5t)
|
||||
$(call clang-flags-subst,-march=armv5e,-march=armv5)
|
||||
|
||||
# clang does not support -Wno-psabi and -Wno-unused-but-set-variable
|
||||
$(call clang-flags-subst,-Wno-psabi,)
|
||||
$(call clang-flags-subst,-Wno-unused-but-set-variable,)
|
||||
|
||||
|
||||
ADDRESS_SANITIZER_CONFIG_EXTRA_CFLAGS := -faddress-sanitizer
|
||||
ADDRESS_SANITIZER_CONFIG_EXTRA_LDFLAGS := -Wl,-u,__asan_preinit
|
||||
ADDRESS_SANITIZER_CONFIG_EXTRA_SHARED_LIBRARIES := libdl libasan_preload
|
||||
|
|
Loading…
Reference in New Issue