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/arm_device.go b/cc/config/arm_device.go
index 6703969..5c050fa 100644
--- a/cc/config/arm_device.go
+++ b/cc/config/arm_device.go
@@ -42,9 +42,7 @@
"-fomit-frame-pointer",
}
- armCppflags = []string{
- "-fvisibility-inlines-hidden",
- }
+ armCppflags = []string{}
armLdflags = []string{
"-Wl,--icf=safe",