Move -fvisibility-inlines-hidden to global device cppflags
It was previously set on arm[64] and mips[64], this will cause it
to be set for x86[_64] too.
Bug: 68855788
Test: m checkbuild
Change-Id: I75af16e7d259963ad633cc664929144332bb435d
diff --git a/cc/config/arm64_device.go b/cc/config/arm64_device.go
index 13e9a08..c206675 100644
--- a/cc/config/arm64_device.go
+++ b/cc/config/arm64_device.go
@@ -45,9 +45,7 @@
"-Wl,--icf=safe",
}
- arm64Cppflags = []string{
- "-fvisibility-inlines-hidden",
- }
+ arm64Cppflags = []string{}
arm64CpuVariantCflags = map[string][]string{
"cortex-a53": []string{