aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-05-01 03:03:40 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-05-01 03:03:40 +0000
commitaceea04abbd09830d395c26de7156072a9b05d42 (patch)
tree202c2c2c79445480d24bdda25122921d34ee6768
parent8c0d6a892a7cb999dd6940289ea70de018974ed8 (diff)
parente24d493547b029c13e5a78055800bd3b18cc3b98 (diff)
downloadlinux-kselftest-android12-d1-release.tar.gz
Change-Id: Ifd1e0469993daaee1aa80c1d8d0b69dff1bd1625
-rw-r--r--Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 71975a4b9aba..e56904c3722e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -474,6 +474,11 @@ cc_test {
name: "kselftest_size_test",
relative_install_path: "linux-kselftest/size",
srcs: ["tools/testing/selftests/size/get_size.c"],
+ arch: {
+ x86_64: {
+ cflags: ["-mstackrealign"],
+ },
+ },
defaults: ["kselftest_defaults"],
nocrt: true,
// coverage runtime calls atexit, which is unavailable with nocrt.