Merge "Add -faddrsig to ClangExtraCflags" into stage-aosp-master
This commit is contained in:
@@ -97,6 +97,10 @@ func init() {
|
|||||||
pctx.StaticVariable("ClangExtraCflags", strings.Join([]string{
|
pctx.StaticVariable("ClangExtraCflags", strings.Join([]string{
|
||||||
"-D__compiler_offsetof=__builtin_offsetof",
|
"-D__compiler_offsetof=__builtin_offsetof",
|
||||||
|
|
||||||
|
// Emit address-significance table which allows linker to perform safe ICF. Clang does
|
||||||
|
// not emit the table by default on Android since NDK still uses GNU binutils.
|
||||||
|
"-faddrsig",
|
||||||
|
|
||||||
// Make implicit fallthrough an error in the future.
|
// Make implicit fallthrough an error in the future.
|
||||||
"-Wimplicit-fallthrough",
|
"-Wimplicit-fallthrough",
|
||||||
"-Wno-error=implicit-fallthrough",
|
"-Wno-error=implicit-fallthrough",
|
||||||
|
Reference in New Issue
Block a user