diff options
| author | 2017-11-02 22:38:32 -0700 | |
|---|---|---|
| committer | 2017-11-03 11:34:45 -0700 | |
| commit | 7278afc5a83894aa7883fc10a9e71c22a7c3f3fc (patch) | |
| tree | d58a15b25dc3fec69ecf31c89c7561999df858a4 /python/python.go | |
| parent | f9e621603b769401732adfdfda1d509d27190cc7 (diff) | |
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
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions