From 90d03f6fcf73304eba3e003ee51a8bbd82fdbe90 Mon Sep 17 00:00:00 2001 From: Giuliano Procida Date: Fri, 12 Mar 2021 17:36:13 +0000 Subject: [PATCH] ANDROID: Clang LTO: Comment on symbol visibility workaround This commit leaves a TODO in the code so we can more easily keep track of the workaround. Bug: 182572011 Fixes: be409db65233 ("ANDROID: Clang LTO: Only set -fvisibility=hidden for x86") Signed-off-by: Giuliano Procida Change-Id: I0277a8c0704e5caf8885884ec4e3642ebe03667f --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5e5a887eaa49..6f46b59de850 100644 --- a/Makefile +++ b/Makefile @@ -908,7 +908,7 @@ CC_FLAGS_LTO += -flto endif ifeq ($(SRCARCH),x86) -# Workaround for compiler / linker bug +# TODO(b/182572011): Revert workaround for compiler / linker bug. CC_FLAGS_LTO += -fvisibility=hidden else CC_FLAGS_LTO += -fvisibility=default