Merge "Use __BIONIC_DEPRECATED_PAGE_SIZE_MACRO." into main
This commit is contained in:
commit
8d1b2db53f
2 changed files with 4 additions and 4 deletions
|
@ -101,8 +101,8 @@ func init() {
|
|||
|
||||
pctx.VariableFunc("Arm64Cflags", func(ctx android.PackageVarContext) string {
|
||||
flags := arm64Cflags
|
||||
if ctx.Config().NoBionicPageSizeMacro() {
|
||||
flags = append(flags, "-D__BIONIC_NO_PAGE_SIZE_MACRO")
|
||||
if !ctx.Config().NoBionicPageSizeMacro() {
|
||||
flags = append(flags, "-D__BIONIC_DEPRECATED_PAGE_SIZE_MACRO")
|
||||
}
|
||||
return strings.Join(flags, " ")
|
||||
})
|
||||
|
|
|
@ -110,8 +110,8 @@ func init() {
|
|||
// Clang cflags
|
||||
pctx.VariableFunc("X86_64Cflags", func(ctx android.PackageVarContext) string {
|
||||
flags := x86_64Cflags
|
||||
if ctx.Config().NoBionicPageSizeMacro() {
|
||||
flags = append(flags, "-D__BIONIC_NO_PAGE_SIZE_MACRO")
|
||||
if !ctx.Config().NoBionicPageSizeMacro() {
|
||||
flags = append(flags, "-D__BIONIC_DEPRECATED_PAGE_SIZE_MACRO")
|
||||
}
|
||||
return strings.Join(flags, " ")
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue