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

Commit b0b638bd authored by Alexander Potapenko's avatar Alexander Potapenko
Browse files

ANDROID: Add INIT_STACK_ALL to the list of Clang-specific options



android-4.14 is unable to check for compiler features at config time, so
we must explicitly list all Clang configs that have to be disabled in
GCC builds.

Bug: 144999193
Test: build cuttlefish_defconfig with GCC for ARM64
Change-Id: Ideaedb77e0384fa5c72b71d30de584a748221648
Signed-off-by: default avatarAlexander Potapenko <glider@google.com>
parent d1ac78ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1228,7 +1228,7 @@ endif
endif

# Disable clang-specific config options when using a different compiler
clang-specific-configs := LTO_CLANG CFI_CLANG SHADOW_CALL_STACK
clang-specific-configs := LTO_CLANG CFI_CLANG SHADOW_CALL_STACK INIT_STACK_ALL

PHONY += check-clang-specific-options
check-clang-specific-options: $(KCONFIG_CONFIG) FORCE