commit | f9f177992373ddaba9a3912ad95d5685a1c78534 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Mar 12 07:53:53 2025 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Mar 12 07:53:53 2025 -0700 |
tree | b88061ec3415d621b322b81b9535fe41df08ca2a | |
parent | 34ff9c47c84704e46165f7dfcf05457e4af0c447 [diff] |
Also build the compile-time tests with _FORTIFY_SOURCE=3. Bug: http://b/291762537 Change-Id: I01b15831ce44c722ed947f1b025f853ea29a5f81
diff --git a/tests/Android.bp b/tests/Android.bp index 51afa55..aeb4587 100644 --- a/tests/Android.bp +++ b/tests/Android.bp
@@ -1453,3 +1453,13 @@ "-D_FORTIFY_SOURCE=2", ], } + +cc_library_static { + name: "bionic-compile-time-tests3-clang++", + defaults: [ + "bionic_compile_time_tests_defaults", + ], + cppflags: [ + "-D_FORTIFY_SOURCE=3", + ], +}