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: be409db652
("ANDROID: Clang LTO: Only set -fvisibility=hidden for x86")
Signed-off-by: Giuliano Procida <gprocida@google.com>
Change-Id: I0277a8c0704e5caf8885884ec4e3642ebe03667f
This commit is contained in:
2
Makefile
2
Makefile
@@ -908,7 +908,7 @@ CC_FLAGS_LTO += -flto
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(SRCARCH),x86)
|
ifeq ($(SRCARCH),x86)
|
||||||
# Workaround for compiler / linker bug
|
# TODO(b/182572011): Revert workaround for compiler / linker bug.
|
||||||
CC_FLAGS_LTO += -fvisibility=hidden
|
CC_FLAGS_LTO += -fvisibility=hidden
|
||||||
else
|
else
|
||||||
CC_FLAGS_LTO += -fvisibility=default
|
CC_FLAGS_LTO += -fvisibility=default
|
||||||
|
Reference in New Issue
Block a user