summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Clément Tosi <ptosi@google.com>2023-03-31 18:33:02 +0100
committerPierre-Clément Tosi <ptosi@google.com>2023-04-04 11:00:40 +0100
commitd0040e5245e13a823dda0f239e0e808ca7d5b991 (patch)
treec813425499e85949406e310f59332dd801f18d49
parentf2f69613a2389bc2b3c0044ed52966093baed8bc (diff)
downloadboringssl-d0040e5245e13a823dda0f239e0e808ca7d5b991.tar.gz
libcrypto_baremetal: Set NO_STATIC_INITIALIZER
As the baremetal implementation doesn't make use of a static initializer, explicitly set the flag instead of relying on the implicit side effect of enabling NO_ASM. Note: no functional change intended. Test: m pvmfw_bin # uses libcrypto_baremetal Change-Id: Icce0ff2e5b73cc086564fa9defa0b06ff631c0c8
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 6e2475a5..f3df4ade 100644
--- a/Android.bp
+++ b/Android.bp
@@ -405,6 +405,7 @@ cc_library_static {
"boringssl_flags",
],
cflags: [
+ "-DBORINGSSL_NO_STATIC_INITIALIZER",
"-DOPENSSL_SMALL",
"-DOPENSSL_NO_ASM",
"-D__TRUSTY__",