aboutsummaryrefslogtreecommitdiff
path: root/scripts/arm_compute_library_nn_driver.go
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/arm_compute_library_nn_driver.go')
-rw-r--r--scripts/arm_compute_library_nn_driver.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/arm_compute_library_nn_driver.go b/scripts/arm_compute_library_nn_driver.go
index d573c6a14a..61c8b992cf 100644
--- a/scripts/arm_compute_library_nn_driver.go
+++ b/scripts/arm_compute_library_nn_driver.go
@@ -14,11 +14,9 @@ import (
func globalFlags(ctx android.BaseContext) []string {
var cppflags []string
- if ctx.AConfig().PlatformVersionName() == "Q" || ctx.AConfig().PlatformVersionName() == "10" {
- cppflags = append(cppflags, "-fno-addrsig")
- }
-
- if ctx.AConfig().PlatformVersionName() == "R" || ctx.AConfig().PlatformVersionName() == "11" {
+ if ctx.AConfig().PlatformVersionName() == "Q" || ctx.AConfig().PlatformVersionName() == "10" ||
+ ctx.AConfig().PlatformVersionName() == "R" || ctx.AConfig().PlatformVersionName() == "11" ||
+ ctx.AConfig().PlatformVersionName() == "S" || ctx.AConfig().PlatformVersionName() == "12" {
cppflags = append(cppflags, "-fno-addrsig")
}