Files
build_soong/cc
Colin Cross 7278afc5a8 Consolidate global cflags
Move all the flags that are used everywhere (or should be used
everywhere) into cc/config/global.go:
-no-canonical-prefixes
-fno-exceptions
-Wno-multichar
-O2
-g
-fno-strict-aliasing

Also remove flags that are already in noOverrideGlobalCflags:
-Werror=pointer-to-int-cast
-Werror=int-to-pointer-cast

x86 and x86_64 were specifying -fstrict-aliasing, but that was
being overriden later by -fno-strict-aliasing, so remove it.
ARM devices still override -fno-strict-aliasing to -fstrict-aliasing
when using ARM (vs. Thumb) instruction set.

Bug: 68855788
Test: m checkbuild
Change-Id: Ia2b5891bdefb60f974ad92b4b84a8548c2dcc7dc
2017-11-03 11:34:45 -07:00
..
2017-11-03 11:34:45 -07:00
2017-11-01 17:32:26 -07:00
2017-11-03 00:05:54 +00:00
2017-10-19 22:39:32 +09:00
2017-05-09 13:44:49 -07:00
2017-10-25 15:20:50 -07:00
2017-09-18 23:33:25 -07:00
2017-11-03 00:05:54 +00:00
2017-10-25 10:30:05 +09:00
2017-06-30 21:08:36 +00:00
2017-10-16 13:36:29 -07:00
2016-08-01 14:36:22 -07:00
2016-07-29 15:17:58 -07:00
2017-10-21 16:04:14 +00:00
2017-06-30 21:08:36 +00:00