summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-07-08 23:02:21 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-07-08 23:02:21 +0000
commitb94ec526dc9909546fe74d0c2ce01cb3e0db2691 (patch)
tree114480b59ffab1949f4e86e057fc54b35d047282
parentd888dac7a372ff2b441b4b29895cc904bb10fbb7 (diff)
parentb8e66a8dff92ab0019d0d506208a92de3a3e197d (diff)
downloadboringssl-android11-qpr1-s1-release.tar.gz
Change-Id: I441186a0665b2ec3a538d2d09cf4597aaa8ada91
-rw-r--r--Android.bp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index c8316775..6ff1bf8c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -67,6 +67,12 @@ cc_defaults {
host: {
host_ldlibs: ["-lpthread"],
},
+ android: {
+ // On FIPS builds (i.e. Android only) prevent other libraries
+ // from pre-empting symbols in libcrypto which could affect FIPS
+ // compliance and cause integrity checks to fail. See b/160231064.
+ ldflags: ["-Wl,-Bsymbolic"],
+ },
},
local_include_dirs: ["src/crypto"],