aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin DuBois <kevindubois@google.com>2020-08-06 10:05:17 -0700
committerKevin DuBois <kevindubois@google.com>2020-08-21 19:35:04 -0700
commite8521c2346cce4e514f1aa380ab640c9468dbaa5 (patch)
treea4858daf7c5bceafba0685eddb83e9ca711849f2
parenteb0170eb99a8d03384e87ff20a38f76ce16de252 (diff)
downloadComputeLibrary-e8521c2346cce4e514f1aa380ab640c9468dbaa5.tar.gz
scripts: -fno-addrsig for include android 11
Pass the -fno-addrsig compiler option for android 11. This was enabled on Q and R, should also be enabled for S. Test: local build Change-Id: If2c0f0d63b4920a17e2b08d0e8e80ef66e0739cc
-rw-r--r--scripts/arm_compute_library_nn_driver.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/arm_compute_library_nn_driver.go b/scripts/arm_compute_library_nn_driver.go
index 320d5d8fa..92bbc9ffa 100644
--- a/scripts/arm_compute_library_nn_driver.go
+++ b/scripts/arm_compute_library_nn_driver.go
@@ -13,7 +13,7 @@ import (
func globalFlags(ctx android.BaseContext) []string {
var cppflags []string
- if ctx.AConfig().PlatformVersionName() == "Q" || ctx.AConfig().PlatformVersionName() == "10" {
+ if ctx.AConfig().PlatformVersionName() == "Q" || ctx.AConfig().PlatformVersionName() >= "10" {
cppflags = append(cppflags, "-fno-addrsig")
}